This content has been marked as final.
Show 4 replies
-
1. Re: Problem with java.lang.VerifyError
chiba May 19, 2005 10:21 AM (in response to bspies)You can dump by calling writeFile() in CtClass.
Can you put the class file on some web site or anywhere
you can put? I'll check it.
Note: please don't trust a decompiler too much.
It cannot decompile some correct class file in principle. -
2. Re: Problem with java.lang.VerifyError
bspies May 20, 2005 12:50 AM (in response to bspies)Chiba,
I don't really have access to a site I can post the file, so I've emailed you the file instead (hope you don't mind).
Thanks,
Brennan -
3. Re: Problem with java.lang.VerifyError
chiba May 23, 2005 12:50 PM (in response to bspies)Brennan and I investigated this problem and found that
the real problem was the value of the variable df declared in this
statement:
java.text.DateFormat df;
was used before the initial value is assigned to this variable.
Javac can detect this type of error is detected but the compiler
of Javassist does not. This is simply for better runtime performance. -
4. Re: Problem with java.lang.VerifyError
dominik_fhg Nov 15, 2005 12:01 PM (in response to bspies)Hi,
i solved this Problem by:Loader loader = new Loader(pool2); loader.delegateLoadingOf("packageTestA.SuperClass");