Initial module-system design, API, and early-access builds

Stefan Fuchs snfuchs at
Thu Sep 10 22:00:47 UTC 2015


reading the overview document I stumbled upon the sentence, that the 
module declaration should by convention go to a file named and therefore complied to ||module-info.class file in 
the root directory of the jar file. Does this mean, that a modular jar 
file may only contain one module at a time? For many applications it is 
common practice to fold all compiled classes and its dependencies into 
one big jar file. Would this still work?
Wouldn't it be better to include the module name in the file name?

- Stefan

More information about the jigsaw-dev mailing list