Skip to content


Browse files Browse the repository at this point in the history
8275687: runtime/CommandLine/PrintTouchedMethods test shouldn't catch…
… RuntimeException

Backport-of: f0136ec94539d0e30ec11d44f8143196da1f7125
  • Loading branch information
shipilev committed Jan 25, 2022
1 parent 25a418d commit 6315ce3
Showing 1 changed file with 2 additions and 6 deletions.
Expand Up @@ -41,10 +41,6 @@ public static void main(String args[]) throws Exception {
var pb = new ProcessBuilder();
pb.command(new String[] {JDKToolFinder.getJDKTool("jcmd"), pid, "VM.print_touched_methods"});
var output = new OutputAnalyzer(pb.start());
try {
} catch (RuntimeException e) {
output.shouldContain("Unknown diagnostic command");

1 comment on commit 6315ce3

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.