I have the same problem.
The problem is due to how the jdk 1.5 compiler create the classes.
A simple test case for this problem would be:

public interface I
 {
  public Map method();
 }

public class A implements I
 {
  public HashMap method()
   {
    return null;
   }
 }

Using javap you can see that A.class contains this two method:

public java.util.HashMap method()
public java.util.Map method()

Actually the A.class contains the same method name twice.

In my case I changed the overriding method return type to solve the problem.
I don't understand if this is a javassist problem or whatever else.

Paolo

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949998#3949998

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949998


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to