RFR: 8282608: RawNativeLibraryImpl can't be passed to NativeLibraries::findEntry0 [v2]

Mandy Chung mchung at openjdk.java.net
Thu Mar 3 23:29:31 UTC 2022


> This fixes a bug in JDK-8282515 that `NativeLibraries::findEntry0` reads the handle from the given native library instance with the field ID for `NativeLibraryImpl::handle` which is wrong for `RawNativeLibraryImpl`.  The `NativeLibraries::findEntry0` now takes the handle of the library instead and that can be used to look up symbols in the native library loaded by System::loadLibrary and also RawNativeLibraries.
> 
> Tier 1-4 testing is in progress.

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

  Move findEntry0 to NativeLibrary

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7684/files
  - new: https://git.openjdk.java.net/jdk/pull/7684/files/419159fe..61711d91

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

  Stats: 22 lines in 4 files changed: 6 ins; 8 del; 8 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7684.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7684/head:pull/7684

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


More information about the core-libs-dev mailing list