"davesitu" wrote:"davesitu" wrote:
Hello everybody!
I'm trying to modify a J2EE server's classloader to enable monitoring J2EE app's on load time using Javassist.
It's not an easy thing but I'm getting good results, but still there are some problems...
When modyfing a method from a class I get an exception (CannotCompileException) when calling the insertAfter method from an instance of CtClass.
The only information given when I print the exception is a code: -2147483648, does anybody has any clues about what this code means?
Thanks in advance.
Regards
Dave Garcia
Technical University of Catalonia (UPC) , Barcelona (Spain)
"chiba" wrote:"chiba" wrote:
That exception means Javassist could not
compile the code you gave. Can you show
me the code you gave to insertAfter?