harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kalpak Gadre <kalpa...@gmail.com>
Subject Re: [contribution] Implementation of extcheck tool
Date Fri, 09 Feb 2007 11:32:30 GMT

> 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.


View raw message