HAHA! It runs!

Paul Benedict pbenedict at apache.org
Tue Dec 8 20:45:15 UTC 2015

On Tue, Dec 8, 2015 at 2:26 PM, Neil Bartlett <njbartlett at gmail.com> wrote:

> I suspect a more common approach will be to generate module-info.class
> directly, skipping the Java source file, since module-info.class is
> extensible whereas module-info.java is not.

Neil, I think you are right. That's a very good point. Thank you. I forgot
not everything planned is expressible as Java source. Since
module-info.class can contain custom attributes, tools wishing to append
custom attributes have to write them straight into the class file. There is
no intermediate representation. Well, I hope tools (javap?) will be readily
available to dump that file into some human-readable format so it's easy to
investigate, debug, and patch.


More information about the jigsaw-dev mailing list