Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ktakakuri committed May 13, 2024
1 parent bd78014 commit 2737ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jdk/test/com/sun/jdi/ProcessAttachTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private static void runTest(String jdwpArg) throws Throwable {
String jps = JDKToolFinder.getJDKTool("jps");
OutputAnalyzer output = ProcessTools.executeProcess(jps);
Pattern ptn1 = Pattern.compile("(\\d+) ProcessAttachTestTarg");
Pattern ptn2 = Pattern.compile("(\\d+) -- main class information unavailable");
Pattern ptn2 = Pattern.compile("(\\d+) -- main class information unavailable"); // The target process is displayed as such in Test 2.
Matcher m1 = ptn1.matcher(output.getOutput());
Matcher m2 = ptn2.matcher(output.getOutput());
List<String> pids1 = new ArrayList<>();
Expand Down

0 comments on commit 2737ade

Please sign in to comment.