On Wed, 15 May 2024 10:34:01 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> 
wrote:

> I don't fully agree that this option is not module related (which is why I 
> gave it that name). The very definition of illegal native access is related 
> to native access occurring from a module that is outside a specific set. So I 
> think it's 50/50 as to whether this option is module-related or not. Of 
> course I can fix the code if there's something clearly better.

It maps here to a jdk.module.* property so I suppose it's okay. The functions 
were introduced to create jdk.module.* properties where the values were a set 
module names or a module path. Maybe these functions should be renamed at some 
point (not here) as they are more widely useful now.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19213#discussion_r1601421535

Reply via email to