module-info.java just causes problems
Jonathan Gibbons
jonathan.gibbons at oracle.com
Wed May 11 20:03:09 UTC 2016
On 05/11/2016 11:53 AM, forax at univ-mlv.fr wrote:
> I also want to gather experience on the bytecode representation,
> BTW, the current format has a bug, encoding the name of a module as a part of the class name fell like a hack. It is a bad idea because the JVM Spec doesn't allow some characters in a class name, i think it should be encoded as a Utf8 (at the starts of the Module attribute),
> it's also weird because the name of the module-info.class is not "module-info" unlike any other classes, this will require to change more code than necessary in a lot of bytecode tools i know.
package-info.class is a precedent.
-- Jon
More information about the jigsaw-dev
mailing list