BCEL SVN trunk and Sun JDK 1.5 works for me

-----Message d'origine-----
De : uprime uprime812 [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 31 décembre 2007 11:53
À : bcel-user@jakarta.apache.org
Objet : problem with class2html

Hello,

I'm new to bcel, and has this problem when I try to convert using
class2html. This is my class:

-------------
package trybcel ;

class A {
  private A nxt = null ;
  private int x = 0 ;

  boolean m(){ return x==0 ; }
}
-----------

After compiling (success), I call Class2HTML and gets this error, which I
thinks rather wierd:

X:\tmp\trybcel>java -cp ..\bcel-5.2\bcel-5.2.jar
org.apache.bcel.util.Class2HTML
A.class
Processing A.class...java.lang.ArrayIndexOutOfBoundsException: -1
java.lang.ArrayIndexOutOfBoundsException: -1
at org.apache.bcel.util.CodeHTML.writeMethod(CodeHTML.java:520)
at org.apache.bcel.util.CodeHTML.<init>(CodeHTML.java:63)
at org.apache.bcel.util.Class2HTML.<init>(Class2HTML.java:92)
at org.apache.bcel.util.Class2HTML.main(Class2HTML.java:136)

Any help will be appreciated!

Thanks,

--W.P.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to