mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
8139170: JVMCI refresh
Reviewed-by: kvn
This commit is contained in:
parent
a4e16dd190
commit
a38ea495d6
246 changed files with 4445 additions and 2901 deletions
|
@ -42,7 +42,7 @@ import java.lang.reflect.Executable;
|
|||
import java.net.Socket;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl;
|
||||
import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
|
||||
import jdk.vm.ci.hotspot.CompilerToVMHelper;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
|
@ -76,7 +76,7 @@ public class GetExceptionTableTest {
|
|||
|
||||
private static void runSanityTest(Executable aMethod,
|
||||
Integer expectedTableLength) {
|
||||
HotSpotResolvedJavaMethodImpl method = CTVMUtilities
|
||||
HotSpotResolvedJavaMethod method = CTVMUtilities
|
||||
.getResolvedMethod(aMethod);
|
||||
int tableLength = CompilerToVMHelper.getExceptionTableLength(method);
|
||||
Asserts.assertEQ(tableLength, expectedTableLength, aMethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue