I'm trying to call a method with arguments that might need autoboxing.

But I'm getting the following error:
Caused by: compile error: f(org.p.test.main.AA,int,int) not found in 
org.p.MyClass
        at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:716)
        at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:682)

when I tried to cast the int to Object I got the following error:
Caused by: compile error: invalid cast
        at javassist.compiler.CodeGen.checkCastExpr(CodeGen.java:1397)
        at javassist.compiler.CodeGen.atCastExpr(CodeGen.java:1363)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138432
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to