< prev index next >

test/compiler/jvmci/compilerToVM/CanInlineMethodTest.java

Print this page

        

@@ -43,11 +43,11 @@
 import java.lang.reflect.Executable;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.List;
 import jdk.vm.ci.hotspot.CompilerToVMHelper;
-import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl;
+import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
 import jdk.test.lib.Asserts;
 import sun.hotspot.WhiteBox;
 
 public class CanInlineMethodTest {
 

@@ -57,11 +57,11 @@
         List<Executable> testCases = createTestCases();
         testCases.forEach(CanInlineMethodTest::runSanityTest);
     }
 
     private static void runSanityTest(Executable aMethod) {
-        HotSpotResolvedJavaMethodImpl method = CTVMUtilities
+        HotSpotResolvedJavaMethod method = CTVMUtilities
                 .getResolvedMethod(aMethod);
         boolean canInline = CompilerToVMHelper.canInlineMethod(method);
         boolean expectedCanInline = !WB.testSetDontInlineMethod(aMethod,
                 true);
         Asserts.assertEQ(canInline, expectedCanInline, "Unexpected initial " +
< prev index next >