Use cases for java.lang.Module.addExports

David Holmes david.holmes at
Mon Dec 12 06:34:19 UTC 2016

Does addExports only affect reflective access to the module, or does it 
change all access? I'm trying to determine what the set of actions X 
will be such that:

try {
catch (<some exception indicating X failed due to lack of export>) {
   execute( () -> mod.addExports(...)); // address the problem
   <X>;  // now it succeeds


More information about the jigsaw-dev mailing list