Remove pool entry pool reference
This commit is contained in:
@@ -147,7 +147,7 @@ public class InvokeInterface extends Instruction implements InvokeInstruction
|
||||
sig.remove(idx);
|
||||
|
||||
// create new method pool object
|
||||
method = new InterfaceMethod(method.getPool(), clazz, new NameAndType(nat.getPool(), nat.getName(), sig));
|
||||
method = new InterfaceMethod(clazz, new NameAndType(nat.getName(), sig));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -139,7 +139,7 @@ public class InvokeSpecial extends Instruction implements InvokeInstruction
|
||||
sig.remove(idx);
|
||||
|
||||
// create new method pool object
|
||||
method = new Method(method.getPool(), clazz, new NameAndType(nat.getPool(), nat.getName(), sig));
|
||||
method = new Method(clazz, new NameAndType(nat.getName(), sig));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -136,7 +136,7 @@ public class InvokeStatic extends Instruction implements InvokeInstruction
|
||||
sig.remove(idx);
|
||||
|
||||
// create new method pool object
|
||||
method = new Method(method.getPool(), clazz, new NameAndType(nat.getPool(), nat.getName(), sig));
|
||||
method = new Method(clazz, new NameAndType(nat.getName(), sig));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -146,7 +146,7 @@ public class InvokeVirtual extends Instruction implements InvokeInstruction
|
||||
sig.remove(idx);
|
||||
|
||||
// create new method pool object
|
||||
method = new Method(method.getPool(), clazz, new NameAndType(nat.getPool(), nat.getName(), sig));
|
||||
method = new Method(clazz, new NameAndType(nat.getName(), sig));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user