> This patch removes the restriction in the raw library loading mechanism that 
> does not allow mix-n-match of loading a library as a JNI library and as a raw 
> library.
> 
> The raw library loading mechanism is designed for panama to load native 
> library essentially equivalent to dlopen/dlclose calls independent of JNI 
> library loading. If a native library is loaded as a JNI library and a raw 
> library, it will get different NativeLibrary instances. When a class loader 
> is being unloaded, JNI_Unload will be invoked but the native library may not 
> be unloaded until NativeLibrary::unload is explicitly called for the raw 
> library.

Mandy Chung has updated the pull request incrementally with one additional 
commit since the last revision:

  Remove the coupling of RawNativeLibraries with JNI library loading

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7435/files
  - new: https://git.openjdk.java.net/jdk/pull/7435/files/6e492d2b..755c67d9

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7435&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7435&range=01-02

  Stats: 505 lines in 7 files changed: 259 ins; 213 del; 33 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7435.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7435/head:pull/7435

PR: https://git.openjdk.java.net/jdk/pull/7435

Reply via email to