8186459: [JVMCI] ClassNotFoundException thrown by CompilerToVM.lookupType() should be converted to a LinkageError

Reviewed-by: kvn, iveresov
This commit is contained in:
Doug Simon 2017-08-23 23:38:06 +02:00
parent 5dfb339a67
commit 29264c3764
10 changed files with 31 additions and 18 deletions

View file

@ -131,7 +131,7 @@ public class GetVtableIndexForInterfaceTest {
System.out.println(tcase);
Method method = tcase.holder.getDeclaredMethod(tcase.methodName);
HotSpotResolvedObjectType metaspaceKlass = CompilerToVMHelper
.lookupType(Utils.toJVMTypeSignature(tcase.receiver),
.lookupTypeHelper(Utils.toJVMTypeSignature(tcase.receiver),
getClass(), /* resolve = */ true);
HotSpotResolvedJavaMethod metaspaceMethod = CTVMUtilities
.getResolvedMethod(tcase.holder, method);