http-client-branch: (WebSocket) DEBUG logging off http-client-branch
authorprappo
Tue, 13 Mar 2018 17:12:16 +0000
branchhttp-client-branch
changeset 56295 898dfb226bd0
parent 56294 181bc33917e4
child 56296 829b4c16ac31
http-client-branch: (WebSocket) DEBUG logging off
src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageDecoder.java
src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageEncoder.java
src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageQueue.java
src/java.net.http/share/classes/jdk/internal/net/http/websocket/TransportImpl.java
src/java.net.http/share/classes/jdk/internal/net/http/websocket/WebSocketImpl.java
--- a/src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageDecoder.java	Tue Mar 13 17:10:20 2018 +0000
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageDecoder.java	Tue Mar 13 17:12:16 2018 +0000
@@ -49,7 +49,7 @@
 /* Exposed for testing purposes */
 class MessageDecoder implements Frame.Consumer {
 
-    private final static boolean DEBUG = true;
+    private final static boolean DEBUG = false;
     private final MessageStreamConsumer output;
     private final UTF8AccumulatingDecoder decoder = new UTF8AccumulatingDecoder();
     private boolean fin;
--- a/src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageEncoder.java	Tue Mar 13 17:10:20 2018 +0000
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageEncoder.java	Tue Mar 13 17:12:16 2018 +0000
@@ -48,7 +48,7 @@
  */
 public class MessageEncoder {
 
-    private final static boolean DEBUG = true;
+    private final static boolean DEBUG = false;
 
     private final SecureRandom maskingKeySource = new SecureRandom();
     private final Frame.HeaderWriter headerWriter = new Frame.HeaderWriter();
--- a/src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageQueue.java	Tue Mar 13 17:10:20 2018 +0000
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/websocket/MessageQueue.java	Tue Mar 13 17:12:16 2018 +0000
@@ -83,7 +83,7 @@
  */
 public class MessageQueue {
 
-    private final static boolean DEBUG = true;
+    private final static boolean DEBUG = false;
 
     @Stable
     private final Message[] elements;
--- a/src/java.net.http/share/classes/jdk/internal/net/http/websocket/TransportImpl.java	Tue Mar 13 17:10:20 2018 +0000
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/websocket/TransportImpl.java	Tue Mar 13 17:12:16 2018 +0000
@@ -49,7 +49,7 @@
 
     // -- Debugging infrastructure --
 
-    private final static boolean DEBUG = true;
+    private final static boolean DEBUG = false;
     /* Used for correlating enters to and exists from a method */
     private final AtomicLong counter = new AtomicLong();
 
--- a/src/java.net.http/share/classes/jdk/internal/net/http/websocket/WebSocketImpl.java	Tue Mar 13 17:10:20 2018 +0000
+++ b/src/java.net.http/share/classes/jdk/internal/net/http/websocket/WebSocketImpl.java	Tue Mar 13 17:12:16 2018 +0000
@@ -71,7 +71,7 @@
  */
 public final class WebSocketImpl implements WebSocket {
 
-    private final static boolean DEBUG = true;
+    private final static boolean DEBUG = false;
     private final AtomicLong sendCounter = new AtomicLong();
     private final AtomicLong receiveCounter = new AtomicLong();