mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8138993: JEP-JDK-8046155: Test task: add check for Compiler.directives_print diagnostic command
Test Compiler.directive_print command Reviewed-by: iignatyev, neliasso
This commit is contained in:
parent
faa5a2381c
commit
06c9ee5a1c
9 changed files with 265 additions and 35 deletions
|
@ -25,7 +25,7 @@
|
|||
* @test
|
||||
* @bug 8137167
|
||||
* @summary Tests clear JCMD command
|
||||
* @library /testlibrary /../../test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @build ClearDirectivesStackTest pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
|
@ -68,9 +68,6 @@ public class ClearDirectivesStackTest extends AbstractTestBase {
|
|||
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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue