Re: Bcel 5.1 is not working under jdk 1.5

"Dave Brosius" <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.user
Message-ID <00b801c5505e$d1c42dd0$e27496d1@MBFG>
Is this class one that was created by javac? or some other means?
----- Original Message ----- 
From: "Lan, Fang" <[email protected]>
To: <[email protected]>
Sent: Tuesday, May 03, 2005 7:00 PM
Subject: Bcel 5.1 is not working under jdk 1.5


The error I'm getting is:

Exception in thread "main" org.apache.bcel.classfile.ClassFormatException: 
Invalid constant pool reference: 5560. Constant pool size is: 1024
[instrument]    at 
org.apache.bcel.classfile.ConstantPool.getConstant(ConstantPool.java:242)
[instrument]    at 
org.apache.bcel.classfile.Utility.codeToString(Utility.java:369)
[instrument]    at 
org.apache.bcel.classfile.Utility.codeToString(Utility.java:166)
[instrument]    at org.apache.bcel.classfile.Code.toString(Code.java:326)

Do you have any idea how to get it fixed?

Thanks!
-Fang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.