branch | niosocketimpl-branch |
changeset 57239 | 7636aef1b197 |
parent 57222 | 86e1d9d76ef4 |
child 57252 | d70fc9bc1430 |
--- a/src/java.base/share/classes/java/net/AbstractPlainSocketImpl.java Fri Mar 01 18:28:44 2019 +0000 +++ b/src/java.base/share/classes/java/net/AbstractPlainSocketImpl.java Sat Mar 02 11:44:38 2019 +0000 @@ -607,15 +607,10 @@ } } - void reset() throws IOException { - if (fd != null) { - socketClose(); - } - fd = null; - super.reset(); + void reset() { + throw new InternalError("should not get here"); } - /** * Shutdown read-half of the socket connection; */