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

Remove httpclient internal APIs which supply ByteBuffers to read calls

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b171
    • Verification:
      Verified

      Backports

        Description

        Because of how SSLEngine works it is not always possible to guarantee that decrypted data that has been read in will fit into a supplied target buffer. For this reason, internal APIs that supply destination buffers for reading are not appropriate. Therefore, we need to remove those read APIs from HttpConnection and its implementation classes.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                michaelm Michael McMahon
                Reporter:
                michaelm Michael McMahon
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: