Sergio Celentano [http://community.jboss.org/people/sergio.celentano] created 
the discussion

"Re: VerifyError, Bad type in putfield/putstatic"

To view the discussion, visit: http://community.jboss.org/message/582832#582832

--------------------------------------------------------------
hi guys,
I realized that i made some mistake in the snippet provided in the last report. 
First the *getClassLoader()* method should be called on the same class where 
the snippet has been included (my.wrapper.Controller). Then the metaclass 
argument in *makeReflective()* invocation should be 
*javassist.tools.reflect.ClassMetaobject.*
Doing this way I can intercept the methods of any class but not of abstract 
classes, which is my case. Nobody knows how I can make this!?

Thanks again,

Sergio
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/582832#582832]

Start a new discussion in Javassist at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2062]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to