On 05/12/2015 09:03, Roel Spilker wrote:
Thanks, that was it.

I must say that the command line got big pretty fast, since I had to export
several packages.

How about having to possibility of adding an export to all packages in a
module?
-XaddExports:jdk.compiler/*=ALL-UNNAMED

That makes it a bit too easy to break encapsulation on a grand scale, I've no doubt it would be abused. I would hope that over time that the issues that force you to use -XaddExports will be worked on so that over time that the value to the option reduces and is finally eliminated.

-Alan.

Reply via email to