Add support for H_NEWINVOKESPECIAL

This commit is contained in:
Lauri Hartikka
2015-10-18 17:38:46 +03:00
parent 743f2814c3
commit 91e3e652aa
4 changed files with 65 additions and 0 deletions

View File

@@ -188,6 +188,10 @@ public class Java8 {
}
}
break;
case Opcodes.H_NEWINVOKESPECIAL:
Class<?> clazz = callerLoader.loadClass(owner.replace("/", "."));
implMethod = caller.findConstructor(clazz, implMethodType);
break;
case Opcodes.H_INVOKEINTERFACE:
Handle h = (Handle) bsmArgs[1];
String interfaceOwner = h.getOwner();