You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-user@jakarta.apache.org by "Lan, Fang" <fl...@amazon.com> on 2005/05/04 01:00:20 UTC
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
Re: Bcel 5.1 is not working under jdk 1.5
Posted by David Hovemeyer <da...@cs.umd.edu>.
Lan, Fang wrote:
>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?
>
>
Try using the latest development version from the subversion repository.
-Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org
Re: Bcel 5.1 is not working under jdk 1.5
Posted by Dave Brosius <db...@qis.net>.
Is this class one that was created by javac? or some other means?
----- Original Message -----
From: "Lan, Fang" <fl...@amazon.com>
To: <bc...@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: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org