harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [contribution] Implementation of extcheck tool
Date Fri, 09 Feb 2007 11:34:27 GMT
Kalpak Gadre wrote:
>> The j.l.Package spec has a requirement that the specification version
>> contains only dot-separated numbers [1], and the method
>> #isCompatibleWith() will throw a NumberFormatException if that is not
>> the case.
>>
>> If you get such an exception I think the only safe option is for the
>> tool to print a warning and assume the packages are incompatible.
>>
>> [1] http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Package.html
>>   
> I have reused the code of  Package::isCompatibleWith() from harmony
> codebase, I hope this is not an issue.

'reused' = copied?

Why not just call it from your tool?  You have the whole JSE API at your
disposal.

Regards,
Tim

Mime
View raw message