8222363: Update ServerSocket.isBound spec to reflect implementation after close
Reviewed-by: dfuchs
--- a/src/java.base/share/classes/java/net/ServerSocket.java Mon Aug 26 09:15:43 2019 +0200
+++ b/src/java.base/share/classes/java/net/ServerSocket.java Mon Aug 26 11:46:54 2019 +0100
@@ -710,6 +710,10 @@
/**
* Returns the binding state of the ServerSocket.
+ * <p>
+ * If the socket was bound prior to being {@linkplain #close closed},
+ * then this method will continue to return {@code true}
+ * after the socket is closed.
*
* @return true if the ServerSocket successfully bound to an address
* @since 1.4