Преглед на файлове

Merge pull request #467 from shifujun/453

Remove DUP check in TransformNewClass
tags/rel_3_30_0_ga
Shigeru Chiba преди 5 месеца
родител
ревизия
fbd20b1e11
No account linked to committer's email address
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0
    3
      src/main/javassist/convert/TransformNewClass.java

+ 0
- 3
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);

Loading…
Отказ
Запис