Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8151496

httpclient supportability changes

XMLWordPrintable

      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.

            michaelm Michael McMahon
            michaelm Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: