test/sun/tools/jps/TestJpsJar.java

Print this page

        

@@ -34,10 +34,11 @@
  *          java -jar /tmp/jtreg/jtreg-workdir/scratch/JpsBase.jar
  *          For all possible combinations of jps arguments a jps process
  *          will be started from within the test application.
  *          The output should contain proper values.
  * @library /lib/testlibrary
+ * @requires vm.gc=="Parallel" | vm.gc=="null"
  * @build jdk.testlibrary.* JpsHelper JpsBase
  * @run driver TestJpsJar
  */
 public class TestJpsJar {