Skip to content

Commit

Permalink
8208471: nsk/jdb/unwatch/unwatch002/unwatch002.java fails with "Promp…
Browse files Browse the repository at this point in the history
…t is not received during 300200 milliseconds"

Backport-of: db61465
  • Loading branch information
GoeLin committed Jul 21, 2022
1 parent 11eed37 commit 9d8e388
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -91,6 +91,7 @@ public static int run(String argv[], PrintStream out) {
static final String DEBUGGEE_CLASS2 = DEBUGGEE_CLASS + "$CheckedFields";
static final String FIRST_BREAK = DEBUGGEE_CLASS + ".main";
static final String LAST_BREAK = DEBUGGEE_CLASS + ".breakHere";
static final String expectedPrompt = "main[1]";

static String[] checkedFields = { "FS1" };
static String[] checkedFields2 = { "FT1", "FV1" };
Expand All @@ -113,7 +114,7 @@ protected void runCases() {

// jdb.contToExit((checkedFields.length *2) + (checkedFields2.length *2) + 2);
for (int i = 0; i < (checkedFields.length *2 + checkedFields2.length*2 + 2); i++) {
reply = jdb.receiveReplyFor(JdbCommand.cont);
reply = jdb.receiveReplyForWithMessageWait(JdbCommand.cont, expectedPrompt);
}

unwatchFields (DEBUGGEE_CLASS, checkedFields);
Expand Down

1 comment on commit 9d8e388

@openjdk-notifier
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.