"exports" directive does not open module's resources for dependent modules
Sander Mak
sander.mak at luminis.eu
Fri Sep 15 13:29:03 UTC 2017
> On 15 Sep 2017, at 15:17, Alexander Udalov <alexander.udalov at jetbrains.com> wrote:
>
> Thank you, I've re-read JLS 7.7.2 and understand now that it behaves
> as expected. I'll continue exporting and opening every package then.
If you open *every* package, you could create an open module as well. Might be less annoying, at the risk of accidentally opening new packages added latre to the module as well even though they might not need to be open.
Sander
More information about the jigsaw-dev
mailing list