hotspot/test/runtime/CommandLine/OptionsValidation/common/optionsvalidation/JVMOption.java
--- a/hotspot/test/runtime/CommandLine/OptionsValidation/common/optionsvalidation/JVMOption.java Fri Apr 28 14:34:24 2017 +0200
+++ b/hotspot/test/runtime/CommandLine/OptionsValidation/common/optionsvalidation/JVMOption.java Tue May 09 16:48:31 2017 +0200
@@ -383,7 +383,11 @@
runJava.add(VMType);
}
- if (GCType != null) {
+ if (GCType != null &&
+ !(prepend.contains("-XX:+UseConcMarkSweepGC") ||
+ prepend.contains("-XX:+UseSerialGC") ||
+ prepend.contains("-XX:+UseParallelGC") ||
+ prepend.contains("-XX:+UseG1GC"))) {
runJava.add(GCType);
}