RFR: 8156499 Update jlink to support creating images with modules that are packaged as multi-release JARs

Alan Bateman Alan.Bateman at oracle.com
Mon Aug 22 21:19:04 UTC 2016



On 22/08/2016 22:04, Mandy Chung wrote:
> :
>
>
> If a JAR file contains an empty directory, should `q` be considered as a concealed package in the base section?
>
> $ jar -t --file hi.jar
> META-INF/
> META-INF/MANIFEST.MF
> module-info.class
> p/Hi.class
> q/
>
> currently not:
>
> $ jar -d --file mr.jar
> hi
>    requires mandated java.base
>    conceals p
>
which is correct. I think the configuration to try is a MR JAR containing:

module-info.class
p/Hi.class
META-INF/versions/9/p/Hi.class
META-INF/versions/9/p/internal/Hi5.class

Then repeat with a META-INF/versions/9/module-info.class.

In all cases then I would assume p.internal should be in the set of 
concealed packages.

-Alan

-Alan



More information about the jigsaw-dev mailing list