Proposal: #ClassFileModuleName
mark.reinhold at oracle.com
mark.reinhold at oracle.com
Mon Dec 5 18:48:41 UTC 2016
2016/11/30 15:19:35 -0800, forax at univ-mlv.fr:
> I've just finished to update ASM6 to use the new classfile format.
>
> Practically, setting this_class to zero create several NPEs in the the
> visitors provided with ASM because a lot of them try to use indexOf on
> the name of the class (to find the package name).
>
> Given that the classfile for a package-info is named
> "foo/bar/package-info", i think it's a good idea to use "module-info"
> instead of null as class name for a module-info.class, it will help at
> least my users .
Okay, that's straightforward.
- Mark
More information about the jpms-spec-experts
mailing list