RFR(M): 8165896: Use "open" flag from JVM_DefineModule to export all module packages

Alan Bateman Alan.Bateman at oracle.com
Thu Mar 23 19:01:11 UTC 2017

On 23/03/2017 18:23, Rachel Protacio wrote:

> Hello!
> Please review this enhancement, which implements the VM side of open 
> modules. Open modules export all their packages unqualifiedly, which 
> was previously done by exporting the packages one by one on the java 
> side. This change saves that step by adding an internal "open" 
> representation for the module structure, which is checked before 
> checking the exportedness of the package itself.
> JDK link: https://bugs.openjdk.java.net/browse/JDK-8165896
> hotspot webrev: http://cr.openjdk.java.net/~rprotacio/8165896.hotspot.00/
> jdk webrev: http://cr.openjdk.java.net/~rprotacio/8165896.jdk.00/

The changes in the jdk repo are okay but it would be nice if we can hold 
back changes in this area until the code has settled down in JDK 9.


More information about the hotspot-runtime-dev mailing list