mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +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
|
@ -85,7 +85,7 @@ public class HasFinalizableSubclassTest {
|
|||
private void runTest(TestCase tcase) {
|
||||
System.out.println(tcase);
|
||||
HotSpotResolvedObjectType metaspaceKlass = CompilerToVMHelper
|
||||
.lookupType(Utils.toJVMTypeSignature(tcase.aClass),
|
||||
.lookupTypeHelper(Utils.toJVMTypeSignature(tcase.aClass),
|
||||
getClass(), /* resolve = */ true);
|
||||
Asserts.assertEQ(tcase.expected,
|
||||
CompilerToVMHelper.hasFinalizableSubclass(metaspaceKlass),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue