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

Sebastian Stenzel duke at openjdk.org
Fri May 26 14:36:56 UTC 2023

On Fri, 26 May 2023 09:00:40 GMT, Alex Buckley <alex.buckley at oracle.com> wrote:

> Ideally, there would be a sibling warning in compiler.properties for
> when there's only one terminal digit:
> terminal digit in module name {0} looks like a version number

That would be smoother, but since this warning is not end-user-facing and its meaning is perfectly clear regardless of cardinality, I would argue it doesn't justify the added complexity to count the number of digits.

Would you sponsor this PR? Then I would change the message as discussed (with digits in plural form).


PR Comment: https://git.openjdk.org/jdk/pull/14099#issuecomment-1564489429

More information about the compiler-dev mailing list