changeset 10501:eb774f6f1077

8152090: Code missing from JDK-8150054 causing many test failures Summary: Add missing method Reviewed-by: kvn
author neliasso
date Thu, 17 Mar 2016 21:55:55 +0100
parents d28f025a1f80
children 39c046b28e28
files test/compiler/compilercontrol/share/scenario/Scenario.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/compiler/compilercontrol/share/scenario/Scenario.java	Thu Mar 17 12:04:04 2016 -0700
+++ b/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);