Integrated: 8346778: Enable native access should work with the source launcher
Christian Stein
cstein at openjdk.org
Tue Jan 14 10:38:46 UTC 2025
On Mon, 6 Jan 2025 16:35:59 GMT, Christian Stein <cstein at openjdk.org> wrote:
> Please review this change request enabling native access in source launch mode when using a modular setup.
>
> The change comes in two parts:
> 1. Prevent warnings of unknown modules being emitted from module bootstrap for user module not being present in the boot layer: `java.c` and `ModuleBootstrap.java`
> 2. Enable native access in source module(s) and also user modules on the module path as requested by `--enable-native-access` via the `ModuleLayer.Controller` API - and emit warning for unknown modules: `MemoryContext.java`
>
> Tested tier1..3.
This pull request has now been integrated.
Changeset: fec769b0
Author: Christian Stein <cstein at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/fec769b0a840ca4351e2458c24184ec69c112c09
Stats: 82 lines in 6 files changed: 67 ins; 0 del; 15 mod
8346778: Enable native access should work with the source launcher
Reviewed-by: alanb
-------------
PR: https://git.openjdk.org/jdk/pull/22930
More information about the compiler-dev
mailing list