harmony-dev mailing list archives

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

I am trying to implement the extcheck JDK tool. As i read in the 
specification
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/extcheck.html, 
extcheck tool
compares versions as in java.lang.Package.isCompatibleWith()

isCompatibleWith assumes that the version is '.' separated numeric 
values. But many of
the jar files have alpha-numeric Specification-version attribute. How do 
you compare
alpa-numeric versions? Do I assume versions to be numeric only?

As I can see, Sun's implementation of extcheck is very rough. Try 
extcheck -verbose
It throws ArrayIndexOutOfBounds :)

Thanks,

Kalpak

Mime
View raw message