Intersection of Modules and Multi-Release JARs
Alan Bateman
Alan.Bateman at oracle.com
Wed Jan 13 17:08:58 UTC 2016
On 13/01/2016 16:55, Paul Benedict wrote:
> 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.
If dependences are significantly different then it might be pushing the
boundaries on multi-release JARs a bit. In any case, it is tracked as
JDK-8146486 to look at after JEP 238 has settled.
-Alan
More information about the jigsaw-dev
mailing list