8152090: Code missing from JDK-8150054 causing many test failures
authorneliasso
Thu, 17 Mar 2016 21:55:55 +0100
changeset 36801 308bbcba639c
parent 36800 37014ee7264c
child 36803 a0e7d10f4437
8152090: Code missing from JDK-8150054 causing many test failures Summary: Add missing method Reviewed-by: kvn
hotspot/test/compiler/compilercontrol/share/scenario/Scenario.java
--- a/hotspot/test/compiler/compilercontrol/share/scenario/Scenario.java	Thu Mar 17 12:04:04 2016 -0700
+++ b/hotspot/test/compiler/compilercontrol/share/scenario/Scenario.java	Thu Mar 17 21:55:55 2016 +0100
@@ -208,6 +208,10 @@
             jcmdStateBuilder = new JcmdStateBuilder(Type.JCMD.fileName);
         }
 
+        public void addFlag(String flag) {
+            vmopts.add(flag);
+        }
+
         public void add(CompileCommand compileCommand) {
             String[] vmOptions = compileCommand.command.vmOpts;
             Collections.addAll(vmopts, vmOptions);