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

Alan Bateman Alan.Bateman at oracle.com
Mon Oct 9 07:55:49 UTC 2017


On 05/10/2017 00:05, 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;
> +};
> +
This looks okay to me although it would be nice if we could identify the 
minimal permissions rather than granting it AllPermission.

-Alan


More information about the core-libs-dev mailing list