8269302: serviceability/dcmd/framework/InvalidCommandTest.java still fails after JDK-8268433

Reviewed-by: kevinw, dcubed
This commit is contained in:
Alex Menkov 2021-06-25 22:10:48 +00:00
parent fb0a95fed4
commit 1404e4bf44

View File

@ -234,7 +234,7 @@ public class SocketIOPipe extends Log.Logger implements Finalizable {
public SocketConnection getConnection() {
synchronized (this) {
while (!connection.isConnected() && error != null) {
while (!connection.isConnected() && error == null) {
try {
wait();
} catch (InterruptedException e) {