[JBoss-user] [Javassist user questions] - Re: Javassist and Java5's enumerations

2005-05-09 Thread chiba
For another request, I'll change ClassPool.get() to accept [L...; View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877042#3877042 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877042 --

[JBoss-user] [Javassist user questions] - Re: Javassist and Java5's enumerations

2005-04-24 Thread gpothier
Ok, I found the problem. It is not specific to enumerations: Javassist doesn't properly handle array classes. For example, this code poses problems: String[] theStrings = {"A", "B"}; theStrings = theStrings.clone(); The problem is that in the class file, the method call is represented like that

[JBoss-user] [Javassist user questions] - Re: Javassist and Java5's enumerations

2005-04-21 Thread gpothier
Sorry, the actual exception is a javassist.NotFoundException. Java's NoClassDefFound doesn't surface its root cause. Here is the stack trace: javassist.NotFoundException: [Lreflex.lib.logging.core.api.collector.BehaviourType; at javassist.ClassPool.get(ClassPool.java:301) at javas