better jdb test diagnostics when getting "Prompt is not received during ... milliseconds" failures

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 12
    • Affects Version/s: 12
    • Component/s: core-svc
    • None
    • b10

      The following failure is quite common among the jdb tests:

      "Prompt is not received during ... milliseconds"

      It is produced when receiveReply() calls waitForPrompt() and the prompt was never detected. Usually there is reply data available when this happens, and printing it is very useful for debugging. See the description of JDK-8208468 for example. Dumping the pending reply made the cause of the failure obvious.

      receiveReply() should be modified as indicated in JDK-8208468 to dump the pending reply when waitForPrompt() fails.

            Assignee:
            Chris Plummer
            Reporter:
            Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: