#ModuleNameInManifest
Christian Stein
sormuras at gmail.com
Fri Oct 6 13:27:23 UTC 2017
See Javadoc for "ModuleFinder.of(Path...)"
http://download.java.net/java/jdk9/docs/api/java/lang/module/ModuleFinder.html#of-java.nio.file.Path...-
Cheers,
Christian
On Fri, Oct 6, 2017 at 3:21 PM, Stephen Colebourne <scolebourne at joda.org>
wrote:
> Automatic-Module-Name
>
> as per this mail:
> http://mail.openjdk.java.net/pipermail/jpms-spec-experts/
> 2017-May/000687.html
>
> see here for an example:
> https://github.com/JodaOrg/joda-convert/commit/
> e96429643b1ac44ae6340d962ef20e338d667f7c
>
> Stephen
>
>
> On 6 October 2017 at 14:05, <maioranonick at gmail.com> wrote:
> > Hello,
> >
> > One of the late modifications to JPMS was having a preferred module name
> specified in the manifest of an unmodularized jar file (
> http://openjdk.java.net/projects/jigsaw/spec/issues/#ModuleNameInManifest)
> instead of using the jar file name itself as the module name.
> >
> > However, there is zero documentation on how to do this. What is the
> attribute name in the manifest file to override the jar name?
> >
> > Thanks,
> > Nick.
> >
>
More information about the jdk9-dev
mailing list