On Tue, 5 Mar 2024 22:44:20 GMT, Mandy Chung <mch...@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