Note: this setting of a field before calling super is similar to how instance inner (nested) classes work, they set the field that points to their outer class before calling their own super constructor.
Sorry. I faild to copy&paste.
The reason of your problem is maybe because you attempted
to reload a class. Reloading a class is prohibited by the JVM.
If you really want to reload a class, please check
javassist.tool.HotSwapper available from CVS HEAD
(that will be included in Javassist 3.1)