--- a/src/java.net.http/share/classes/java/net/http/WebSocket.java Wed Apr 11 00:49:26 2018 +0100
+++ b/src/java.net.http/share/classes/java/net/http/WebSocket.java Wed Apr 11 00:55:41 2018 +0100
@@ -241,7 +241,8 @@
* and may even happen concurrently.
*
* <p> {@code CompletionStage}s returned from the receive methods have
- * nothing to do with the <a href="#counter">counter of invocations</a>.
+ * nothing to do with the
+ * <a href="WebSocket.html#counter">counter of invocations</a>.
* Here is an example of a listener that requests invocations, one at a
* time, until a complete message has been accumulated, then processes
* the result, and completes the {@code CompletionStage}: