Current plans for a new Java access modifier
alex.buckley at oracle.com
Wed Nov 25 18:58:06 UTC 2015
There is no new modifier for class/field/method declarations, but the
effect of 'exports' in a module declaration is to limit the
accessibility of 'public' class/field/method declarations. You also
mentioned visibility, but that's a separate topic related to class
loaders. Suggest you watch my "Project Jigsaw: Under the Hood" video
linked from the Jigsaw project page.
On 11/25/2015 3:59 AM, Karl Sanders wrote:
> after a quick search in the Jigsaw docs and mailing list archives I
> came to the conclusion that there won't be a new Java access modifier
> between public and Package-Access, to allow visibility and access from
> other packages but only if inside the same module.
> Is this correct?
More information about the jigsaw-dev