Ordering of versions
Glyn Normington
gnormington at vmware.com
Wed Nov 9 08:43:30 PST 2011
Gotcha. Thanks for your patience.
Regards,
Glyn
On 9 Nov 2011, at 16:37, mark.reinhold at oracle.com wrote:
> 2011/11/9 7:47 -0800, gnormington at vmware.com:
>> I see. How are the tokens of a qualifier compared? If they are compared
>> just like the initial part,
>
> Yes.
>
>> then that would be a numeric comparison for
>> numeric tokens, but what about non-numeric tokens like BETA and GA?
>
> They are compared lexicographically, so BETA < GA.
>
>> Are
>> tokens compared as strings if at least one of the tokens being compared
>> is non-numeric?
>
> Yes.
>
>> Or I can read the code if you prefer to send me a link. ;-)
>
> http://hg.openjdk.java.net/jigsaw/jigsaw/jdk/file/960eb03d1270/src/share/classes/org/openjdk/jigsaw/JigsawVersion.java
>
> - Mark
More information about the jigsaw-dev
mailing list