--- a/test/jdk/java/net/httpclient/ShortResponseBody.java Thu Jun 07 10:45:30 2018 +0100
+++ b/test/jdk/java/net/httpclient/ShortResponseBody.java Thu Jun 07 14:21:50 2018 +0100
@@ -166,7 +166,7 @@
String msg = ioe.getMessage();
assertTrue(msg.contains(expectedMsg), "exception msg:[" + msg + "]");
// synchronous API must have the send method on the stack
- //TODO: uncomment assertSendMethodOnStack(ioe);
+ assertSendMethodOnStack(ioe);
assertNoConnectionExpiredException(ioe);
}
}
@@ -232,7 +232,7 @@
// "incomplete" since the chunked request body is not completely sent
assertTrue(msg.contains("incomplete"), "exception msg:[" + msg + "]");
// synchronous API must have the send method on the stack
- //TODO: uncomment assertSendMethodOnStack(ioe);
+ assertSendMethodOnStack(ioe);
assertNoConnectionExpiredException(ioe);
}
}