< prev index next >

test/compiler/jvmci/compilerToVM/GetLocalVariableTableTest.java

Print this page

        

*** 40,50 **** */ package compiler.jvmci.compilerToVM; import compiler.jvmci.common.CTVMUtilities; ! import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl; import jdk.vm.ci.hotspot.CompilerToVMHelper; import jdk.test.lib.Asserts; import java.lang.reflect.Executable; import java.util.HashMap; --- 40,50 ---- */ package compiler.jvmci.compilerToVM; import compiler.jvmci.common.CTVMUtilities; ! import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod; import jdk.vm.ci.hotspot.CompilerToVMHelper; import jdk.test.lib.Asserts; import java.lang.reflect.Executable; import java.util.HashMap;
*** 98,108 **** return methods; } private static void runSanityTest(Executable aMethod, Integer expectedTableLength) { ! HotSpotResolvedJavaMethodImpl method = CTVMUtilities .getResolvedMethod(aMethod); int tblLength = CompilerToVMHelper.getLocalVariableTableLength(method); Asserts.assertEQ(tblLength, expectedTableLength, aMethod + " : incorrect " + "local variable table length."); --- 98,108 ---- return methods; } private static void runSanityTest(Executable aMethod, Integer expectedTableLength) { ! HotSpotResolvedJavaMethod method = CTVMUtilities .getResolvedMethod(aMethod); int tblLength = CompilerToVMHelper.getLocalVariableTableLength(method); Asserts.assertEQ(tblLength, expectedTableLength, aMethod + " : incorrect " + "local variable table length.");
< prev index next >