http-client-branch: fix for failing ConnectionPoolTestDriver http-client-branch
authorprappo
Mon, 13 Nov 2017 14:43:09 +0300
branchhttp-client-branch
changeset 55804 b36de693e838
parent 55803 259cf67b22ec
child 55805 371ed971281e
http-client-branch: fix for failing ConnectionPoolTestDriver
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/ConnectionPool.java
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/ConnectionPool.java	Mon Nov 13 11:05:52 2017 +0300
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/ConnectionPool.java	Mon Nov 13 14:43:09 2017 +0300
@@ -104,6 +104,11 @@
         }
     }
 
+    /* Exposed for testing */
+    ConnectionPool() {
+        this("ConnectionPool(?)");
+    }
+
     ConnectionPool(long clientId) {
         this("ConnectionPool("+clientId+")");
     }