Review Request JDK-8228336: Refactor native library loading implementation

Maurizio Cimadamore maurizio.cimadamore at
Mon Mar 9 23:44:37 UTC 2020

Thanks Mandy,
this refactoring would indeed enable Panama library loading to get rid 
of classloader-related restriction which are JNI-based and have little 
to do with the way Panama does things. I'm looking forward to be able to 
use something like this from my side of the fence :-)


On 09/03/2020 23:33, Mandy Chung wrote:
> This refactoring enables Panama LookupLibrary to further experiment 
> and allow loading of a native library without the restriction that a 
> native library can only be loaded by one class loader.  The 
> restriction is important for System::loadLibrary in loading JNI 
> libraries that implements JNI native methods and so remain unchanged. 

More information about the core-libs-dev mailing list