RFR: 8331671: Implement JEP 472: Prepare to Restrict the Use of JNI [v8]
Alan Bateman
alanb at openjdk.org
Mon May 20 18:54:05 UTC 2024
On Mon, 20 May 2024 18:39:31 GMT, Phil Race <prr at openjdk.org> wrote:
>> make/conf/module-loader-map.conf line 105:
>>
>>> 103: java.smartcardio \
>>> 104: jdk.accessibility \
>>> 105: jdk.attach \
>>
>> The list of allowed modules has been rewritten from scratch, by looking at the set of modules containing at least one `native` method declaration.
>
> Should I understand this list to be the set of modules exempt from needing to specific that native access is allowed ?
> ie they always have native access without any warnings, and further that any attempt to enable warnings, or to disable native access for these modules is ignored ?
Yes, this was added via JDK-8327218. The changes in this PR are just trimming down the list to only the modules that have native code.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19213#discussion_r1607147983
More information about the security-dev
mailing list