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

Jan Lahoda jlahoda at openjdk.org
Tue Mar 5 16:15:46 UTC 2024


On Tue, 5 Mar 2024 14:14:15 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>>> 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.

I believe we could technically reuse the list for boot/platform modules. But, the intent here is to provide more control over the modules with native access, not only being able to add to the list, but also remove from the list. So, to me, it seemed better to have an explicit list, from/to which we can remove/add modules easily.

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

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


More information about the build-dev mailing list