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

Sebastian Stenzel duke at openjdk.org
Wed May 24 05:37:53 UTC 2023


On Wed, 24 May 2023 02:33:40 GMT, Alex Buckley <alex.buckley at oracle.com> wrote:

> module name {0} should not end with a number, since it may be wrongly interpreted as a version number

Still confusing: The warning is not to avoid module consumers from _wrongly interpreting_ terminal digits such as in PKCS11 as a version number. It rather warns the module publisher to not append any version number to the module name.

How about: `module name {0} ends on terminal digits, which must not encode a version number`

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

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


More information about the compiler-dev mailing list