[12] RFR(S) 8216151: [Graal] Module jdk.internal.vm.compiler.management has not been granted accessClassInPackage.org.graalvm.compiler.debug

Alan Bateman Alan.Bateman at oracle.com
Mon Jan 14 10:27:23 UTC 2019


On 13/01/2019 02:46, Vladimir Kozlov wrote:
> http://cr.openjdk.java.net/~kvn/8216151/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8216151
>
> Have to update default.policy after changes in 
> jdk.internal.vm.compiler.management files done by JDK-8199755: "Update 
> Graal".
>
> Ran CheckAccessClassInPackagePermissions.java test.
>
cc'ing security-dev as that is where is the security policy file is 
maintained.

One thing is double check is that code in 
jdk.internal.vm.compiler.management really needs to access members of 
classes in the listed packages. I ask because the module definition 
doesn't export some of these packages to 
jdk.internal.vm.compiler.management so they aren't accessible even when 
not running with a security manager.

-Alan


More information about the core-libs-dev mailing list