Skip to content


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

Reviewed-by: iklam, chagedorn
  • Loading branch information
Fairoz Matte authored and chhagedorn committed Nov 25, 2021
1 parent 21e302a commit f0136ec
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
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 f0136ec

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.