This is an exported version of the JIRA issue tracker. Please use the Google Code site to open new tickets or report updates to these existing tickets. Feel free to contact the mailing list with any questions.

[JDF-5] ArrayIndexOutOfBoundsException when comparing jaxb 2.0 and 2.1 APi jars
Created: Tue, 3 Jul 2007 08:54:44 -0700 (PDT)  Updated: Tue, 3 Jul 2007 08:54:44 -0700 (PDT)

Status:Open
Project:JarDiff
Component/s:
Affects Version/s:0.2
Fix Version/s:

Type:BugPriority: Major
Reporter:Bill JonesAssignee:Antony Riley
Resolution:Unresolved 
Environment:apple osx 10.4, Apple JDK 1.5


 Description   
Downloaded latest versions of Sun JAXB APIs, v2.0 and 2.1. Tried to use jardiff to compare the api jars, recieved the following stack trace -

java.lang.ArrayIndexOutOfBoundsException: 401
        at org.objectweb.asm.ClassReader.readByte(Unknown Source)
        at org.objectweb.asm.ClassReader.a(Unknown Source)
        at org.objectweb.asm.ClassReader.a(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.osjava.jardiff.JarDiff.loadClassInfo(JarDiff.java:194)
        at org.osjava.jardiff.JarDiff.loadClasses(JarDiff.java:257)
        at org.osjava.jardiff.JarDiff.loadOldClasses(JarDiff.java:293)
        at org.osjava.jardiff.Main.main(Main.java:238)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:474)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.boot.Bootstrapper.bootstrap(Bootstrapper.java:209)
        at org.codehaus.classworlds.boot.Bootstrapper.main(Bootstrapper.java:116)