Relates :
|
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.