On Mon, 22 Jan 2024 17:34:16 GMT, Doug Simon <dnsi...@openjdk.org> wrote:

> This PR changes `jdk.internal.vm.ci` such that it is loaded by the platform 
> class loader instead of the boot class loader. This allows Native Image to 
> load a version of JVMCI different than the version on top of which Native 
> Image is running. This capability is demonstrated and tested by 
> `LoadAlternativeJVMCI.java`.

src/java.base/share/lib/security/default.policy line 166:

> 164: };
> 165: 
> 166: grant codeBase "jrt:/jdk.internal.vm.ci" {

This is required as JVMCI is no longer loaded by the boot loader but should 
retain all permissions.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17520#discussion_r1463601925

Reply via email to