#ModuleNameInManifest

Stephen Colebourne scolebourne at joda.org
Fri Oct 6 13:21:40 UTC 2017


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