8189116: Give the jdk.internal.vm.compiler.management only the permissions it really needs to expose the bean

Reviewed-by: mchung, kvn
This commit is contained in:
Jaroslav Tulach 2017-11-10 10:30:42 +01:00
parent 005bc61930
commit d08cb7efdf

View File

@ -155,7 +155,10 @@ grant codeBase "jrt:/jdk.internal.vm.compiler" {
};
grant codeBase "jrt:/jdk.internal.vm.compiler.management" {
permission java.security.AllPermission;
permission java.lang.RuntimePermission "accessClassInPackage.org.graalvm.compiler.hotspot";
permission java.lang.RuntimePermission "accessClassInPackage.jdk.vm.ci.runtime";
permission java.lang.RuntimePermission "accessClassInPackage.sun.management.spi";
permission java.lang.RuntimePermission "sun.management.spi.PlatformMBeanProvider.subclass";
};
grant codeBase "jrt:/jdk.jsobject" {