Hi,I would like to know it is possible to modifya class that has been already loaded.My test case :
MyClass myClass = new MyClass();
ClassPool pool = ClassPool.getDefault();
CtClass cc = pool.get("MyClass");
//make some changes
Caused by: java.lang.LinkageError: loader (instance of sun/misc/Launcher$AppClassLoader): attempted duplicate class definition for name: "MyClass"
Retrieving data ...