Can't pick right module name

Marius Volkhart Marius at volkhart.com
Tue Mar 23 11:02:32 UTC 2021


See
http://openjdk.java.net/projects/jigsaw/spec/issues/#VersionsInModuleNames

Some further discussion from around the time when this was being developed
is available at https://stackoverflow.com/a/41859239/2502247

--
Cheers,
Marius Volkhart



On Tue, Mar 23, 2021 at 11:57 AM Marius Volkhart <Marius at volkhart.com>
wrote:

> Hi,
>
> There was a mailing list discussion about this once. The proposal
> originally resulted in a compiler error when modules ended with a version.
> I believe the idea is to dissuade developers from including versions in
> their module names, the way it often happens with package names like
> org.apache.commons.collections4. If I recall correctly, the error was
> reduced to a warning for cases like this, where a brand name ends with a
> number.
>
> I'm having trouble finding the original messages though.
>
> --
> Cheers,
> Marius Volkhart
>
>
>
> On Tue, Mar 23, 2021 at 11:41 AM Michael Paus <mp at jugs.org> wrote:
>
>> Why not just call it "com.authzero..." ��
>>
>> Am 23.03.21 um 09:46 schrieb d3coder:
>> > I want to add module system support for this library
>> > https://github.com/auth0/java-jwt
>> > It's published under com.auth0.java-jwt on maven
>> > https://mvnrepository.com/artifact/com.auth0/java-jwt
>> >
>> > According to what i found,
>> > https://docs.oracle.com/javase/specs/jls/se16/html/jls-6.html#jls-6.1
>> > right module name would be com.auth0.java_jwt, right?
>> > Compiler warns me that module name components can't end with a digit.
>> > I'm not sure which module name should i pick
>> > com.auth0.java_jwt
>> > com.auth0_.java_jwt
>> > com.auth_.java_jwt
>> > or something else
>> >
>> >
>>
>>
>>


More information about the discuss mailing list