On Tue, 5 Mar 2024 14:14:15 GMT, Jaikiran Pai <j...@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

Reply via email to