This class is from the binary downloaded from the site. When I use jdk 1.5 to use the downloaded bcel.jar to do some instrumentation, I got the error.
-----Original Message----- From: Dave Brosius [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 9:08 PM To: BCEL Users List Subject: Re: Bcel 5.1 is not working under jdk 1.5 Is this class one that was created by javac? or some other means? ----- Original Message ----- From: "Lan, Fang" <[EMAIL PROTECTED]> To: <bcel-user@jakarta.apache.org> 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]