This content has been marked as final.
Show 3 replies
-
1. Re: How to replace classname in local var declaration?
klagesb5 Nov 30, 2005 6:16 AM (in response to deadance)Hi,
Did anyone find an answer to this as I seem to eb having the same problem?
Cheers
Ben -
2. Re: How to replace classname in local var declaration?
chiba Dec 1, 2005 12:19 AM (in response to deadance)Hi,
It is a sort of bug of Javassist, but it should not make any real problem since a local variable is not really typed at bytecode level. Your code should run without any problem
although a decompielr may claim the type of a local variable remains the same. -
3. Re: How to replace classname in local var declaration?
klagesb5 Dec 1, 2005 6:09 AM (in response to deadance)Yes, thanks Chiba. I did work it out and in fact got the decompiler to stop doing it if I removed the debug form the class. It obviously forced it to try and work out the type of the local variable.
Thanks again.