branch | niosocketimpl-branch |
changeset 57110 | b848ca1ef778 |
parent 49431 | 5812849b5027 |
child 57237 | a0ad3ffd7b60 |
--- a/test/jdk/java/net/Socket/asyncClose/BrokenPipe.java Wed Jan 23 19:56:28 2019 +0100 +++ b/test/jdk/java/net/Socket/asyncClose/BrokenPipe.java Wed Jan 23 19:30:59 2019 +0000 @@ -69,7 +69,7 @@ * replace this by catching a more specific exception. */ String text = ioe.getMessage(); - if (text.toLowerCase().indexOf("closed") >= 0) { + if (text.toLowerCase().indexOf("Socket closed") >= 0) { throw ioe; } } finally {