8269302: serviceability/dcmd/framework/InvalidCommandTest.java still fails after JDK-8268433
Reviewed-by: kevinw, dcubed
This commit is contained in:
parent
fb0a95fed4
commit
1404e4bf44
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user