git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@15 30ef5769-5b8d-40dd-aea6-55b5d6557bb3tags/rel_3_17_1_ga
@@ -639,13 +639,7 @@ class CtClassType extends CtClass { | |||
checkModify(); | |||
ClassFile cf = getClassFile2(); | |||
Bytecode code = new Bytecode(cf.getConstPool(), 0, 0); | |||
try { | |||
modifyClassConstructor(cf, b, 0, 0); | |||
} | |||
catch (CompileError e) { | |||
throw new CannotCompileException(e); | |||
} | |||
modifyClassConstructor(cf, code, 0, 0); | |||
return getClassInitializer(); | |||
} | |||