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