hotspot/test/gc/TestSystemGC.java
changeset 27692 11c231c781dc
parent 21114 624bcbea49bb
child 27898 813ad96387b3
--- a/hotspot/test/gc/TestSystemGC.java	Tue Oct 21 15:07:25 2014 +0200
+++ b/hotspot/test/gc/TestSystemGC.java	Wed Nov 19 17:43:19 2014 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,7 @@
 /*
  * @test TestSystemGC
  * @key gc
+ * @requires vm.gc=="null"
  * @summary Runs System.gc() with different flags.
  * @run main/othervm TestSystemGC
  * @run main/othervm -XX:+UseSerialGC TestSystemGC