This content has been marked as final.
Show 3 replies
-
1. Re: java.lang.ClassFormatError
chiba Oct 13, 2003 8:31 PM (in response to vc)That exception means some methods take too many
parameters than expected. How did you change? -
2. Re: java.lang.ClassFormatError
vc Oct 14, 2003 2:26 AM (in response to vc)We've just change method and field modifiers, basically from 'private' or 'protected' to 'public', then we've used the javassist's loader to load the modified class and instantiated an object out of this modified class. During the instantiation we'got the error message described before. We're using javassist version 2.6.
Thank you VC -
3. Re: java.lang.ClassFormatError
vc Oct 14, 2003 7:51 AM (in response to vc)Hello,
The problem seems to be discovered! As we've mentioned before we've changed method modifiers to 'public', however we've omitted to add other modifiers like 'static' that were there originally. The consequence was the already mentioned message 'java.lang.ClassFormatError'.
Best regards, VC