jakarta-bcel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28069] BCEL ClassParser throws ClassFormatException on Chinese locale class file
Date Sat, 13 Sep 2008 01:09:49 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=28069


Dave Brosius <dbrosius@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dbrosius@apache.org
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #5 from Dave Brosius <dbrosius@apache.org>  2008-09-12 18:09:48 PST ---
Running javap on the file, produces the same problems, so i believe this is
just a bad class file.

C:\>javap -v LocaleElements_zh__PINYIN
java.lang.ClassFormatError: invalid constant type: 60
        at sun.tools.javap.ClassData.readCP(ClassData.java:180)
        at sun.tools.javap.ClassData.read(ClassData.java:81)
        at sun.tools.javap.ClassData.<init>(ClassData.java:52)
        at sun.tools.javap.JavapPrinter.<init>(JavapPrinter.java:28)
        at sun.tools.javap.Main.displayResults(Main.java:201)
        at sun.tools.javap.Main.perform(Main.java:61)
        at sun.tools.javap.Main.entry(Main.java:49)
        at sun.tools.javap.Main.main(Main.java:34)
ERROR:fatal error
Exception in thread "main" java.lang.NullPointerException
        at sun.tools.javap.JavapPrinter.javaclassname(JavapPrinter.java:791)
        at sun.tools.javap.JavapPrinter.printclassHeader(JavapPrinter.java:60)
        at sun.tools.javap.JavapPrinter.print(JavapPrinter.java:36)
        at sun.tools.javap.Main.displayResults(Main.java:202)
        at sun.tools.javap.Main.perform(Main.java:61)
        at sun.tools.javap.Main.entry(Main.java:49)
        at sun.tools.javap.Main.main(Main.java:34)


I'd suggest looking at the tool that generated the class file.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-dev-help@jakarta.apache.org


Mime
View raw message