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

@ -82,7 +82,7 @@ public class GetClassInitializerTest {
System.out.println(tcase);
String className = tcase.holder.getName();
HotSpotResolvedObjectType resolvedClazz = CompilerToVMHelper
.lookupType(Utils.toJVMTypeSignature(tcase.holder),
.lookupTypeHelper(Utils.toJVMTypeSignature(tcase.holder),
getClass(), /* resolve = */ true);
HotSpotResolvedJavaMethod initializer = CompilerToVMHelper
.getClassInitializer(resolvedClazz);