mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8186459: [JVMCI] ClassNotFoundException thrown by CompilerToVM.lookupType() should be converted to a LinkageError
Reviewed-by: kvn, iveresov
This commit is contained in:
parent
5dfb339a67
commit
29264c3764
10 changed files with 31 additions and 18 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue