Ordering of versions

Glyn Normington gnormington at vmware.com
Wed Nov 9 07:48:37 PST 2011


Forgot to reply to the list.

Regards,
Glyn

Begin forwarded message:

> From: Glyn Normington <gnormington at vmware.com>
> Subject: Re: Ordering of versions
> Date: 9 November 2011 15:47:58 GMT
> To: mark.reinhold at oracle.com
> 
> I see. How are the tokens of a qualifier compared? If they are compared just like the initial part, then that would be a numeric comparison for numeric tokens, but what about non-numeric tokens like BETA and GA? Are tokens compared as strings if at least one of the tokens being compared is non-numeric?
> 
> Or I can read the code if you prefer to send me a link. ;-)
> 
> Regards,
> Glyn
> 
> On 9 Nov 2011, at 15:42, mark.reinhold at oracle.com wrote:
> 
>> 2011/11/9 1:08 -0800, gnormington at vmware.com:
>>> Thanks Mark - that's helpful. One other thing: are qualifiers treated
>>> as strings from an ordering perspective?
>> 
>> Not quite.  They're tokenized and compared just like the initial part
>> of a version string.
>> 
>> - Mark
> 




More information about the jigsaw-dev mailing list