--- old/test/compiler/compilercontrol/commands/ExcludeTest.java 2016-03-15 14:25:42.764527213 +0100 +++ new/test/compiler/compilercontrol/commands/ExcludeTest.java 2016-03-15 14:25:42.656527208 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.commands.ExcludeTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.commands.ExcludeTest + * @run driver compiler.compilercontrol.commands.ExcludeTest */ package compiler.compilercontrol.commands; --- old/test/compiler/compilercontrol/commandfile/LogTest.java 2016-03-15 14:25:42.764527213 +0100 +++ new/test/compiler/compilercontrol/commandfile/LogTest.java 2016-03-15 14:25:42.656527208 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.commandfile.LogTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.commandfile.LogTest + * @run driver compiler.compilercontrol.commandfile.LogTest */ package compiler.compilercontrol.commandfile; --- old/test/compiler/compilercontrol/commands/CompileOnlyTest.java 2016-03-15 14:25:42.764527213 +0100 +++ new/test/compiler/compilercontrol/commands/CompileOnlyTest.java 2016-03-15 14:25:42.660527208 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.commands.CompileOnlyTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.commands.CompileOnlyTest + * @run driver compiler.compilercontrol.commands.CompileOnlyTest */ package compiler.compilercontrol.commands; --- old/test/compiler/compilercontrol/commands/PrintTest.java 2016-03-15 14:25:42.764527213 +0100 +++ new/test/compiler/compilercontrol/commands/PrintTest.java 2016-03-15 14:25:42.656527208 +0100 @@ -30,9 +30,9 @@ * @build compiler.compilercontrol.commands.PrintTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.commands.PrintTest + * @run driver compiler.compilercontrol.commands.PrintTest */ package compiler.compilercontrol.commands; --- old/test/compiler/compilercontrol/commandfile/ExcludeTest.java 2016-03-15 14:25:42.764527213 +0100 +++ new/test/compiler/compilercontrol/commandfile/ExcludeTest.java 2016-03-15 14:25:42.656527208 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.commandfile.ExcludeTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.commandfile.ExcludeTest + * @run driver compiler.compilercontrol.commandfile.ExcludeTest */ package compiler.compilercontrol.commandfile; --- old/test/compiler/compilercontrol/directives/PrintTest.java 2016-03-15 14:25:42.764527213 +0100 +++ new/test/compiler/compilercontrol/directives/PrintTest.java 2016-03-15 14:25:42.656527208 +0100 @@ -30,9 +30,9 @@ * @build compiler.compilercontrol.directives.PrintTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.directives.PrintTest + * @run driver compiler.compilercontrol.directives.PrintTest */ package compiler.compilercontrol.directives; --- old/test/compiler/compilercontrol/directives/LogTest.java 2016-03-15 14:25:42.764527213 +0100 +++ new/test/compiler/compilercontrol/directives/LogTest.java 2016-03-15 14:25:42.656527208 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.directives.LogTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.directives.LogTest + * @run driver compiler.compilercontrol.directives.LogTest */ package compiler.compilercontrol.directives; --- old/test/compiler/compilercontrol/directives/CompileOnlyTest.java 2016-03-15 14:25:42.768527213 +0100 +++ new/test/compiler/compilercontrol/directives/CompileOnlyTest.java 2016-03-15 14:25:42.660527208 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.directives.CompileOnlyTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.directives.CompileOnlyTest + * @run driver compiler.compilercontrol.directives.CompileOnlyTest */ package compiler.compilercontrol.directives; --- old/test/compiler/compilercontrol/commandfile/CompileOnlyTest.java 2016-03-15 14:25:42.768527213 +0100 +++ new/test/compiler/compilercontrol/commandfile/CompileOnlyTest.java 2016-03-15 14:25:42.664527209 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.commandfile.CompileOnlyTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.commandfile.CompileOnlyTest + * @run driver compiler.compilercontrol.commandfile.CompileOnlyTest */ package compiler.compilercontrol.commandfile; --- old/test/compiler/compilercontrol/directives/ExcludeTest.java 2016-03-15 14:25:42.772527213 +0100 +++ new/test/compiler/compilercontrol/directives/ExcludeTest.java 2016-03-15 14:25:42.660527208 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.directives.ExcludeTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.directives.ExcludeTest + * @run driver compiler.compilercontrol.directives.ExcludeTest */ package compiler.compilercontrol.directives; --- old/test/compiler/compilercontrol/commandfile/PrintTest.java 2016-03-15 14:25:42.788527214 +0100 +++ new/test/compiler/compilercontrol/commandfile/PrintTest.java 2016-03-15 14:25:42.680527209 +0100 @@ -30,9 +30,9 @@ * @build compiler.compilercontrol.commandfile.PrintTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.commandfile.PrintTest + * @run driver compiler.compilercontrol.commandfile.PrintTest */ package compiler.compilercontrol.commandfile; --- old/test/compiler/compilercontrol/commands/LogTest.java 2016-03-15 14:25:42.788527214 +0100 +++ new/test/compiler/compilercontrol/commands/LogTest.java 2016-03-15 14:25:42.680527209 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.commands.LogTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.commands.LogTest + * @run driver compiler.compilercontrol.commands.LogTest */ package compiler.compilercontrol.commands; --- old/test/compiler/compilercontrol/jcmd/AddPrintAssemblyTest.java 2016-03-15 14:25:44.176527272 +0100 +++ new/test/compiler/compilercontrol/jcmd/AddPrintAssemblyTest.java 2016-03-15 14:25:44.084527268 +0100 @@ -30,9 +30,9 @@ * @build compiler.compilercontrol.jcmd.AddPrintAssemblyTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.jcmd.AddPrintAssemblyTest + * @run driver compiler.compilercontrol.jcmd.AddPrintAssemblyTest */ package compiler.compilercontrol.jcmd; --- old/test/compiler/compilercontrol/jcmd/AddCompileOnlyTest.java 2016-03-15 14:25:44.176527272 +0100 +++ new/test/compiler/compilercontrol/jcmd/AddCompileOnlyTest.java 2016-03-15 14:25:44.084527268 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.jcmd.AddCompileOnlyTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.jcmd.AddCompileOnlyTest + * @run driver compiler.compilercontrol.jcmd.AddCompileOnlyTest */ package compiler.compilercontrol.jcmd; --- old/test/compiler/compilercontrol/jcmd/PrintDirectivesTest.java 2016-03-15 14:25:44.176527272 +0100 +++ new/test/compiler/compilercontrol/jcmd/PrintDirectivesTest.java 2016-03-15 14:25:44.084527268 +0100 @@ -30,9 +30,9 @@ * @build compiler.compilercontrol.jcmd.PrintDirectivesTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.jcmd.PrintDirectivesTest + * @run driver compiler.compilercontrol.jcmd.PrintDirectivesTest */ package compiler.compilercontrol.jcmd; --- old/test/compiler/compilercontrol/jcmd/ClearDirectivesStackTest.java 2016-03-15 14:25:44.176527272 +0100 +++ new/test/compiler/compilercontrol/jcmd/ClearDirectivesStackTest.java 2016-03-15 14:25:44.084527268 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.jcmd.ClearDirectivesStackTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.jcmd.ClearDirectivesStackTest + * @run driver compiler.compilercontrol.jcmd.ClearDirectivesStackTest */ package compiler.compilercontrol.jcmd; --- old/test/compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest.java 2016-03-15 14:25:44.176527272 +0100 +++ new/test/compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest.java 2016-03-15 14:25:44.084527268 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.jcmd.ClearDirectivesFileStackTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.jcmd.ClearDirectivesFileStackTest + * @run driver compiler.compilercontrol.jcmd.ClearDirectivesFileStackTest */ package compiler.compilercontrol.jcmd; --- old/test/compiler/compilercontrol/jcmd/AddExcludeTest.java 2016-03-15 14:25:44.196527273 +0100 +++ new/test/compiler/compilercontrol/jcmd/AddExcludeTest.java 2016-03-15 14:25:44.088527268 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.jcmd.AddExcludeTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.jcmd.AddExcludeTest + * @run driver compiler.compilercontrol.jcmd.AddExcludeTest */ package compiler.compilercontrol.jcmd; --- old/test/compiler/compilercontrol/jcmd/AddAndRemoveTest.java 2016-03-15 14:25:44.196527273 +0100 +++ new/test/compiler/compilercontrol/jcmd/AddAndRemoveTest.java 2016-03-15 14:25:44.088527268 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.jcmd.AddAndRemoveTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.jcmd.AddAndRemoveTest + * @run driver compiler.compilercontrol.jcmd.AddAndRemoveTest */ package compiler.compilercontrol.jcmd; --- old/test/compiler/compilercontrol/mixed/RandomCommandsTest.java 2016-03-15 14:25:44.196527273 +0100 +++ new/test/compiler/compilercontrol/mixed/RandomCommandsTest.java 2016-03-15 14:25:44.088527268 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.mixed.RandomCommandsTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm/timeout=600 compiler.compilercontrol.mixed.RandomCommandsTest + * @run driver/timeout=600 compiler.compilercontrol.mixed.RandomCommandsTest */ package compiler.compilercontrol.mixed; --- old/test/compiler/compilercontrol/matcher/MethodMatcherTest.java 2016-03-15 14:25:44.196527273 +0100 +++ new/test/compiler/compilercontrol/matcher/MethodMatcherTest.java 2016-03-15 14:25:44.088527268 +0100 @@ -42,7 +42,7 @@ * @summary Tests CompilerCommand's method matcher * @library /testlibrary /test/lib /compiler/whitebox ../share / * @build compiler.compilercontrol.matcher.MethodMatcherTest - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions * -XX:+WhiteBoxAPI compiler.compilercontrol.matcher.MethodMatcherTest --- old/test/compiler/compilercontrol/mixed/RandomValidCommandsTest.java 2016-03-15 14:25:44.196527273 +0100 +++ new/test/compiler/compilercontrol/mixed/RandomValidCommandsTest.java 2016-03-15 14:25:44.088527268 +0100 @@ -30,7 +30,7 @@ * @build compiler.compilercontrol.mixed.RandomValidCommandsTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run driver compiler.compilercontrol.mixed.RandomValidCommandsTest */ --- old/test/compiler/compilercontrol/jcmd/AddLogTest.java 2016-03-15 14:25:44.196527273 +0100 +++ new/test/compiler/compilercontrol/jcmd/AddLogTest.java 2016-03-15 14:25:44.088527268 +0100 @@ -29,9 +29,9 @@ * @build compiler.compilercontrol.jcmd.AddLogTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm compiler.compilercontrol.jcmd.AddLogTest + * @run driver compiler.compilercontrol.jcmd.AddLogTest */ package compiler.compilercontrol.jcmd; --- old/test/compiler/compilercontrol/jcmd/StressAddMultiThreadedTest.java 2016-03-15 14:25:44.200527273 +0100 +++ new/test/compiler/compilercontrol/jcmd/StressAddMultiThreadedTest.java 2016-03-15 14:25:44.088527268 +0100 @@ -31,7 +31,7 @@ * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils * compiler.compilercontrol.share.actions.* - * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run driver compiler.compilercontrol.jcmd.StressAddMultiThreadedTest */ --- old/test/compiler/compilercontrol/share/MultiCommand.java 2016-03-15 14:25:44.512527286 +0100 +++ new/test/compiler/compilercontrol/share/MultiCommand.java 2016-03-15 14:25:44.424527282 +0100 @@ -72,7 +72,6 @@ @Override public void test() { Scenario.Builder builder = Scenario.getBuilder(); - builder.addFlag("-Xmixed"); for (CompileCommand cc : testCases) { cc.print(); builder.add(cc); --- old/test/compiler/compilercontrol/share/scenario/Scenario.java 2016-03-15 14:25:44.588527289 +0100 +++ new/test/compiler/compilercontrol/share/scenario/Scenario.java 2016-03-15 14:25:44.472527284 +0100 @@ -200,6 +200,7 @@ private final List jcmdCommands = new ArrayList<>(); public Builder() { + addFlag("-Xmixed"); builders.put(Type.FILE, new CommandFileBuilder(Type.FILE.fileName)); builders.put(Type.OPTION, new CommandOptionsBuilder()); builders.put(Type.DIRECTIVE, new DirectiveBuilder(