JDK-8151496 : httpclient supportability changes
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-03-09
  • Updated: 2016-12-09
  • Resolved: 2016-12-09
Related Reports
Duplicate :  
Relates :  
Description
Exception handling can be improved with better exception messages which convey state.

e.g
Http1Request.java
 319                 if (contentWritten != contentLength) {
 320                     throw new IOException("wrong content length");

Let's print the length value. 
Comments
Fixed in sandbox
09-12-2016

mail thread : http://mail.openjdk.java.net/pipermail/net-dev/2016-February/009516.html
09-03-2016