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
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue