RFR: 8159523. Fix tests depending on absence of -limitmods in VM arguments.

Alan Bateman Alan.Bateman at oracle.com
Wed Oct 26 19:00:58 UTC 2016


On 26/10/2016 19:33, Alexandre (Shura) Iline wrote:

> :
> Like this:
> http://cr.openjdk.java.net/~shurailine/8159523/webrev.04/
>
It's all subjective but I prefer:

.addExports("java.base/jdk.internal.misc=ALL-UNNAMED")
.addExports("java.base/jdk.internal.reflect=ALL-UNNAMED")

to:

.addExports("java.base", "jdk.internal.misc")
.addExports("java.base", "jdk.internal.reflect")

only because I can immediately see what the packages are being exported 
to all unnamed modules.

-Alan





More information about the jigsaw-dev mailing list