InvocationHandlers don't implement the interface. You'd have to have the proxy instance itself.
Sent from tablet device. Please excuse typos and brevity. On Jun 11, 2012 4:55 AM, "George Georgovassilis" <g.georgovassi...@gmail.com> wrote: > Hello list, > > I am trying to suspend a call where the stack goes through a dynamic proxy. > When resumed, I get a ClassCastException which tries to cast the > InvocationHandler of the proxy to the interface it is proxying. Classes are > prepared with the ant-task, both bcel and asm modes fail.Can this be done > and all and yes, then how? >