Restriction of module redefineability in recent commit

Rafael Winterhalter rafael.wth at
Mon Apr 3 18:49:55 UTC 2017

I just found out about this change to restrict redefining some modules: and I can
only repeat my warning that this further restriction will make it harder to
migrate to Java 9 and might break tools in the process. It does neither
seem to me that a good alternative is offered if opening core modules is
required to make a Java agent work.

Is this change intending to freeze classes of java.base or to restrict
exporting? If so, does this also affect the command line to change the
properties of certain modules? Was an evaluation done how this change might
impact existing tools?

Thanks for explaining this change.
Best regards, Rafael

More information about the jigsaw-dev mailing list