RFR: 8331671: Implement JEP 472: Prepare to Restrict the Use of JNI [v3]
Alan Bateman
alanb at openjdk.org
Wed May 15 11:05:14 UTC 2024
On Wed, 15 May 2024 10:34:01 GMT, Maurizio Cimadamore <mcimadamore at 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
More information about the security-dev
mailing list