RFR: 8282515: More clean up on NativeLibraries just for JNI library use

Mandy Chung mchung at openjdk.java.net
Wed Mar 2 17:10:29 UTC 2022


This patch further cleans up NativeLibraries just for JNI library use.  RawNativeLibraries implements its own native load and unload methods.  In addition, this also fixes the implementation of `RawNativeLibraries::load` not to throw UnsatisfiedLinkError if a library cannot be loaded for any reason but instead returns null.

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

Commit messages:
 - 8282515: More clean up on NativeLibraries just for JNI library use

Changes: https://git.openjdk.java.net/jdk/pull/7661/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7661&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8282515
  Stats: 275 lines in 6 files changed: 175 ins; 28 del; 72 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7661.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7661/head:pull/7661

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


More information about the core-libs-dev mailing list