Hi All,
I am using javassist to inject before & after advice in my project. As I am trying to unit test I keep getting the error:
java.lang.RuntimeException: org.dummy.greenthumb.TreePlanter class is frozen
Without getting into details on Junit, there is this method in CtClass: defrost() which should allow further class modifications after a writeFile() or toBytecode() or toClass().