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

Rachel Protacio rachel.protacio at oracle.com
Thu Mar 23 20:07:54 UTC 2017


Thanks for taking a look, Alan. And absolutely, I can wait. Sorry for 
jumping the gun!

Rachel


On 3/23/2017 3:01 PM, Alan Bateman wrote:
> 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.
>
> -Alan



More information about the hotspot-runtime-dev mailing list