Intersection of Modules and Multi-Release JARs

Paul Benedict pbenedict at apache.org
Wed Jan 13 16:55:14 UTC 2016


With multi-release JARs, there is a directory structure to partition out
the class files for the destined versions of the Java runtime.

With modules, the module-info.class sits in the root of the JAR.

How will these two requirements be reconciled? Are there plans such as
allowing module-info.class in each version folder too? It is quite
conceivable a module will require dependencies in one Java version; yet not
for another.

Cheers,
Paul


More information about the jigsaw-dev mailing list