Proposal: #ModuleNameCharacters (revised)

mark.reinhold at mark.reinhold at
Thu Jan 26 22:38:31 UTC 2017

2017/1/1 15:43:10 -0800, Rémi Forax <forax at>:
> Re-reading this thread after a message sent privately by Ess Kay aksing why
> spaces are supported, i think we should disallow 0x20 (space) too,
> having a module not found because a module name has a trailing space will not
> be fun.

No, that wouldn't be fun, but such module names will never be emitted by
a Java compiler, hence I don't think this type of error will be so common
as to justify banning spaces in module names in all `module-info.class`

- Mark

More information about the jpms-spec-observers mailing list