test/jdk/java/net/httpclient/websocket/ImmediateAbort.java
branchhttp-client-branch
changeset 56320 f82729ca8660
parent 56318 2a96e88888b2
--- a/test/jdk/java/net/httpclient/websocket/ImmediateAbort.java	Mon Mar 19 12:24:07 2018 +0000
+++ b/test/jdk/java/net/httpclient/websocket/ImmediateAbort.java	Mon Mar 19 14:20:18 2018 +0000
@@ -70,7 +70,7 @@
                 @Override
                 public CompletionStage<?> onText(WebSocket webSocket,
                                                  CharSequence message,
-                                                 WebSocket.MessagePart part) {
+                                                 boolean last) {
                     messageReceived.complete(null);
                     return null;
                 }
@@ -78,7 +78,7 @@
                 @Override
                 public CompletionStage<?> onBinary(WebSocket webSocket,
                                                    ByteBuffer message,
-                                                   WebSocket.MessagePart part) {
+                                                   boolean last) {
                     messageReceived.complete(null);
                     return null;
                 }