diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/javassist/CtClassType.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main/javassist/CtClassType.java b/src/main/javassist/CtClassType.java index 73a873e9..a9aa9c15 100644 --- a/src/main/javassist/CtClassType.java +++ b/src/main/javassist/CtClassType.java @@ -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(); } |