Remove DUP check in TransformNewClasstags/rel_3_30_0_ga
if (c == NEW) { | if (c == NEW) { | ||||
index = iterator.u16bitAt(pos + 1); | index = iterator.u16bitAt(pos + 1); | ||||
if (cp.getClassInfo(index).equals(classname)) { | 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) | if (newClassIndex == 0) | ||||
newClassIndex = cp.addClassInfo(newClassName); | newClassIndex = cp.addClassInfo(newClassName); |