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

Alan Bateman alanb at openjdk.org
Wed Mar 6 09:22:47 UTC 2024


On Tue, 5 Mar 2024 22:44:20 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> Many of these modules do not need native access in the current implementation.

In addition this will eventually need jlink support. I view the change to ModuleBootstrap initialiser to use ModuleLoaderMap.nativeAccessModules() as very temporary. It may include many standard/JDK modules that aren't in the image. In addition we'll need some way to grant native access at link-time. The workaround for the latter right now is to configure default options.

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

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


More information about the build-dev mailing list