A way to opt out of access restrictions on non-exported members.

Alan Bateman Alan.Bateman at oracle.com
Wed Nov 18 10:23:08 UTC 2015


On 18/11/2015 10:04, Ali Ebrahimi wrote:
> Hi,
> Currently only code inside java.base module can add (qualified) 
> exports programmatically.
>
Any module can export any of its packages to another module via the API.

In the EE container case then there are a number of options to explore. 
It would clearly be desirable to aim for services in the medium term. 
Failing that then the EE containers will be creating dynamic 
configurations and so should be able to arrange for the equivalent of 
the -XaddExports command-line option that we have for the boot layer.

-Alan


More information about the jigsaw-dev mailing list