8152090: Code missing from JDK-8150054 causing many test failures
Summary: Add missing method
Reviewed-by: kvn
--- 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);