RFR: 8282608: RawNativeLibraryImpl can't be passed to NativeLibraries::findEntry0 [v2]
David Holmes
dholmes at openjdk.java.net
Fri Mar 4 01:29:59 UTC 2022
On Thu, 3 Mar 2022 23:29:31 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.
>
> Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
>
> Move findEntry0 to NativeLibrary
HI Mandy,
This looks reasonable to me.
Thanks,
David
-------------
Marked as reviewed by dholmes (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/7684
More information about the core-libs-dev
mailing list