Did anyone find an answer to this as I seem to eb having the same problem?
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.
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.