Re: Bcel 5.1 is not working under jdk 1.5

David Hovemeyer <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.user
Message-ID <[email protected]>
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
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.