Integrated: 8282608: RawNativeLibraryImpl can't be passed to NativeLibraries::findEntry0
Mandy Chung
mchung at openjdk.java.net
Fri Mar 4 03:45:07 UTC 2022
On Thu, 3 Mar 2022 21:57:19 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 7e1c67d4
Author: Mandy Chung <mchung at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/7e1c67d4af76eba688927a24d711181570e965ef
Stats: 33 lines in 4 files changed: 6 ins; 15 del; 12 mod
8282608: RawNativeLibraryImpl can't be passed to NativeLibraries::findEntry0
Reviewed-by: mcimadamore, dholmes
-------------
PR: https://git.openjdk.java.net/jdk/pull/7684
More information about the core-libs-dev
mailing list