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

HttpUrlConnection.connect() sets package-private ps, break HttpsUrlConnection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.1.1
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.1.1
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      HttpUrlConnection.connect() does this:

      ps = (PrintStream)http.getOutputStream();

      HttpsUrlConnection's version of connect() doesn't set ps, which is fine
      in 1.1, but not in 1.1.1. Worse, ps is package private, so HttsUrlConnection
      can't set it.

        Attachments

          Activity

            People

            Assignee:
            djbrown David Brown (Inactive)
            Reporter:
            bfootesunw Bill Foote (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: