[10] RFR(S) 8188775: Module jdk.internal.vm.compiler.management has not been granted accessClassInPackage.org.graalvm.compiler.hotspot

Jaroslav Tulach jaroslav.tulach at oracle.com
Thu Oct 5 15:32:39 UTC 2017


Opps. Sorry for causing the problem. I haven't executed the test in question 
and thus I thought everything is OK.

Thanks Vladimir for creating the fix.
-jt

On středa 4. října 2017 16:05:33 CEST Vladimir Kozlov wrote:
> https://bugs.openjdk.java.net/browse/JDK-8188775
> 
> Changes for 8182701[1] missed changes in default.policy for new module
> jdk.internal.vm.compiler.management.
> 
> Add missing code:
> 
> src/java.base/share/lib/security/default.policy
> @@ -154,6 +154,10 @@
>       permission java.security.AllPermission;
>   };
> 
> +grant codeBase "jrt:/jdk.internal.vm.compiler.management" {
> +    permission java.security.AllPermission;
> +};
> +
>   grant codeBase "jrt:/jdk.jsobject" {
>       permission java.security.AllPermission;
>   };
> 
> Verified with failed test.
> 
> Thanks,
> Vladimir
> 
> [1] http://hg.openjdk.java.net/jdk10/hs/rev/8b2054b7d02c




More information about the core-libs-dev mailing list