< prev index next >

test/compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest.java

Print this page
rev 9430 : [mq]: PrintDirectives
rev 9218 : 8140668: Quarantine RandomValidCommandsTest
8140669: Quarantine ClearDirectivesFileStackTest
Summary: Quarantine two tests
Reviewed-by: iignatyev, neliasso, kvn
rev 9150 : 8066166: JEP-JDK-8046155: Test task: dcmd tests
Summary: Tests for diagnostic command in CompilerControl
Reviewed-by: kvn

*** 24,34 **** /* * @test * @bug 8137167 * @ignore 8140405 * @summary Tests jcmd to be able to clear directives added via options ! * @library /testlibrary /../../test/lib /compiler/testlibrary ../share / * @build ClearDirectivesFileStackTest pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm compiler.compilercontrol.jcmd.ClearDirectivesFileStackTest --- 24,34 ---- /* * @test * @bug 8137167 * @ignore 8140405 * @summary Tests jcmd to be able to clear directives added via options ! * @library /testlibrary /test/lib /compiler/testlibrary ../share / * @build ClearDirectivesFileStackTest pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.* * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm compiler.compilercontrol.jcmd.ClearDirectivesFileStackTest
*** 71,83 **** methodDescriptor, cmdGen.generateCompiler(), Scenario.Type.DIRECTIVE); compileCommand.print(); builder.add(compileCommand); } - // print all directives before - builder.add(new JcmdCommand(Command.NONEXISTENT, null, null, - Scenario.Type.JCMD, Scenario.JcmdType.PRINT)); // clear the stack builder.add(new JcmdCommand(Command.NONEXISTENT, null, null, Scenario.Type.JCMD, Scenario.JcmdType.CLEAR)); // print all directives after the clear builder.add(new JcmdCommand(Command.NONEXISTENT, null, null, --- 71,80 ----
< prev index next >