Paths in Mutli Release Jar
Alan Bateman
Alan.Bateman at oracle.com
Fri May 27 09:16:30 UTC 2016
On 27/05/2016 09:06, Robert Scholte wrote:
> I noticed that the path is still META-INF/*versions*/ even though the
> JEP has been renamed from Multi Version jar to Multi Release jar. Is
> that intended or should/will that be changed as well?
I'm not aware of any proposal to rename this. Steve Drach (cc'ed) is JEP
238 and should be able to confirm.
While on the topic then I should probably mention that the initial
support for modular JAR as multi-release JARs is in jdk-9+120. Clearly
an advanced topic but in brief, the proposal is that a compiled module
declaration (module-info.class) can appear in the versioned section of a
multi-release JAR. It should be be same as the compiled module
declaration in the top-level directory except that it can have different
non-public `requires` on java.* and jdk.* modules. The `jar` tool checks
this when creating or updating a JAR file. JEP 261 (with a link from JEP
238) will be updated on this soon.
-Alan.
More information about the jigsaw-dev
mailing list