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

Remove httpclient internal APIs which supply ByteBuffers to read calls

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • None
    • core-libs
    • None
    • b171
    • Verified

        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.

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

                Created:
                Updated:
                Resolved: