RFR: 8327218: Add an ability to specify modules which should have native access enabled [v2]

Jaikiran Pai jpai at openjdk.org
Tue Mar 5 14:16:46 UTC 2024


On Tue, 5 Mar 2024 14:01:55 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> make/conf/module-loader-map.conf line 95:
>> 
>>> 93:     #
>>> 94: 
>>> 95: NATIVE_ACCESS_MODULES= \
>> 
>> Hello Jan, does this make configuration allow for something like:
>> 
>> 
>> NATIVE_ACCESS_MODULES= ${BOOT_MODULES} \
>> ${PLATFORM_MODULES} \
>> foo.bar.additional.module
>> 
>> (please ignore any syntax issues in that snippet)
>> 
>> to make the intention clear as well as reduce the chances of missing some boot or platform module in this NATIVE_ACCESS_MODULES?
>
>> to make the intention clear as well as reduce the chances of missing some boot or platform module in this NATIVE_ACCESS_MODULES?
> 
> The list to be be granted native access is a subset, it shouldn't be granted all modules mapped to the boot or platform class loaders.

I see. I then misunderstood a part of the PR description.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18106#discussion_r1512894628


More information about the core-libs-dev mailing list