http-client-branch: better diagnosis of expected exceptions http-client-branch
authordfuchs
Fri, 17 Nov 2017 15:42:34 +0000
branchhttp-client-branch
changeset 55832 2585c47a1a55
parent 55831 deaf861d440e
child 55833 3e1f7cdef8a5
http-client-branch: better diagnosis of expected exceptions
test/jdk/java/net/httpclient/websocket/jdk.incubator.httpclient/jdk/incubator/http/internal/websocket/TestSupport.java
--- a/test/jdk/java/net/httpclient/websocket/jdk.incubator.httpclient/jdk/incubator/http/internal/websocket/TestSupport.java	Fri Nov 17 14:57:41 2017 +0000
+++ b/test/jdk/java/net/httpclient/websocket/jdk.incubator.httpclient/jdk/incubator/http/internal/websocket/TestSupport.java	Fri Nov 17 15:42:34 2017 +0000
@@ -465,6 +465,7 @@
             caught = t;
         }
         if (predicate.test(caught)) {
+            System.out.println("Got expected exception: " + caught);
             return caught;
         }
         if (caught == null) {