diff options
Diffstat (limited to 'src/main/javassist/convert/TransformNewClass.java')
-rw-r--r-- | src/main/javassist/convert/TransformNewClass.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/javassist/convert/TransformNewClass.java b/src/main/javassist/convert/TransformNewClass.java index 83f2a0cc..56738a10 100644 --- a/src/main/javassist/convert/TransformNewClass.java +++ b/src/main/javassist/convert/TransformNewClass.java @@ -56,9 +56,6 @@ final public class TransformNewClass extends Transformer { if (c == NEW) { index = iterator.u16bitAt(pos + 1); if (cp.getClassInfo(index).equals(classname)) { - if (iterator.byteAt(pos + 3) != DUP) - throw new CannotCompileException( - "NEW followed by no DUP was found"); if (newClassIndex == 0) newClassIndex = cp.addClassInfo(newClassName); |