< prev index next >
test/compiler/jvmci/compilerToVM/GetBytecodeTest.java
Print this page
@@ -38,11 +38,11 @@
import compiler.jvmci.common.CTVMUtilities;
import compiler.jvmci.common.testcases.TestCase;
import java.lang.reflect.Executable;
import java.lang.reflect.Modifier;
-import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethodImpl;
+import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
import jdk.vm.ci.hotspot.CompilerToVMHelper;
import jdk.internal.org.objectweb.asm.Opcodes;
import jdk.test.lib.Asserts;
public class GetBytecodeTest {
@@ -51,11 +51,11 @@
TestCase.getAllExecutables()
.forEach(GetBytecodeTest::runSanityTest);
}
private static void runSanityTest(Executable aMethod) {
- HotSpotResolvedJavaMethodImpl method = CTVMUtilities
+ HotSpotResolvedJavaMethod method = CTVMUtilities
.getResolvedMethod(aMethod);
byte[] bytecode = CompilerToVMHelper.getBytecode(method);
int mods = aMethod.getModifiers();
boolean shouldHasZeroLength = Modifier.isAbstract(mods)
< prev index next >