< prev index next >
test/compiler/jsr292/InvokerGC.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 23,42 ****
/*
* @test
* @bug 8067247
* @modules java.base/jdk.internal.misc
! * @library /test/lib /
* @run main/bootclasspath/othervm -Xcomp -Xbatch
- * -XX:CompileCommand=compileonly,InvokerGC::test
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
! * InvokerGC
*/
! import java.lang.invoke.*;
import sun.hotspot.WhiteBox;
public class InvokerGC {
static final WhiteBox WB = WhiteBox.getWhiteBox();
static MethodHandle mh;
static {
--- 23,48 ----
/*
* @test
* @bug 8067247
* @modules java.base/jdk.internal.misc
! * @library /test/lib
! *
* @run main/bootclasspath/othervm -Xcomp -Xbatch
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
! * -XX:CompileCommand=compileonly,compiler.jsr292.InvokerGC::test
! * compiler.jsr292.InvokerGC
*/
! package compiler.jsr292;
!
import sun.hotspot.WhiteBox;
+ import java.lang.invoke.MethodHandle;
+ import java.lang.invoke.MethodHandles;
+ import java.lang.invoke.MethodType;
+
public class InvokerGC {
static final WhiteBox WB = WhiteBox.getWhiteBox();
static MethodHandle mh;
static {
< prev index next >