ModuleMainClass attribute via module-info.java

Gunnar Morling gunnar at hibernate.org
Fri Jun 5 20:33:15 UTC 2020


Hey Florian,

not javac, but ModiTect allows you to specify the main class when
defining module descriptors:

    https://github.com/moditect/moditect#adding-a-module-descriptor-to-the-project-jar

--Gunnar

Am So., 31. Mai 2020 um 19:32 Uhr schrieb Florian Weimer <fw at deneb.enyo.de>:
>
> Is it possible to instruct javac to generate a ModuleMainClass
> attribute via a module declaration?  I can't find the appropriate
> syntax in the JLS.  If there is no way to get javac to generate the
> attribute, what is the reason for that?


More information about the jigsaw-dev mailing list