RFR: JDK-8264488: Improve warning for module names ending with digits

Jonathan Gibbons jjg at openjdk.org
Wed May 24 20:02:59 UTC 2023


On Tue, 23 May 2023 12:25:07 GMT, Sebastian Stenzel <duke at openjdk.org> wrote:

> Since this is a rather trivial change, I didn't start a new discussion, as I deem this sufficiently discussed [back in early 2021](https://mail.openjdk.org/pipermail/discuss/2021-March/005779.html).

src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties line 1864:

> 1862: # 0: name
> 1863: compiler.warn.poor.choice.for.module.name=\
> 1864:     module name component {0} ends with a digit. Module names should not encode version information in module names

Duplicate text

_Module names_. should not ... in _module names_

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/14099#discussion_r1204697085


More information about the compiler-dev mailing list