module-info file location

Alex Buckley alex.buckley at oracle.com
Fri Sep 22 07:54:10 UTC 2017


See "Modular multi-release JAR files" in http://openjdk.java.net/jeps/238

----- khmarbaise at gmx.de wrote:

> From: khmarbaise at gmx.de
> To: jigsaw-dev at openjdk.java.net
> Sent: Friday, September 22, 2017 12:43:38 AM GMT -08:00 US/Canada Pacific
> Subject: module-info file location
>
> Hi,
> 
> I have seen an example of a multi version jar file which contained the
> mudule-info.class at the following location:
> 
> META-INF/versions/9/module-info.class
> 
> based on the information I have I would have assumed that this
> is only allowed having the module-info.class file at the root of the
> jar.
> 
> So the question is: Is it allowed to have a module-info.class file in
> that location or is it only allowed having only a singe 
> module-info.class file at the root level of a jar file?
> 
> 
> 
> Kind regards
> Karl Heinz Marbaise


More information about the jigsaw-dev mailing list