I've tried to changed a method modifier form "private synchronized" to "public" I've got the following message. I'll be happy for any help.
java.lang.RuntimeException: the class is frozen
That's you tried to change a method modifier
in the class that you had loaded or written out.
Javassist freezes a class when it is loaded so
that further changes will be prohibited.
You can call defrost() in CtClass.