test/hotspot/jtreg/gc/epsilon/TestHelloWorld.java
branchepsilon-gc-branch
changeset 56540 ada11a8e2ebc
parent 56350 56014b46de69
--- a/test/hotspot/jtreg/gc/epsilon/TestHelloWorld.java	Mon May 07 16:41:38 2018 +0200
+++ b/test/hotspot/jtreg/gc/epsilon/TestHelloWorld.java	Fri May 11 18:33:36 2018 +0200
@@ -23,12 +23,12 @@
 
 /**
  * @test TestHelloWorld
+ * @key gc
+ * @requires vm.gc.Epsilon
  * @summary Basic sanity test for Epsilon
- * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:+UseEpsilonGC TestHelloWorld
+ * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC TestHelloWorld
  */
 
-import java.util.LinkedList;
-
 public class TestHelloWorld {
   public static void main(String[] args) throws Exception {
     System.out.println("Hello World");