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

Remove httpclient internal APIs which supply ByteBuffers to read calls

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • None
    • core-libs
    • None
    • b171
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: