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

HttpURLConnection::usingProxy could specify that it may lazily evaluate the fact

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b22

      Description

      HttpURLConnection::usingProxy may lazily evaluate this fact.
      So until a connection is actually established this method could always return "false" while the proxy IS actually used.
      This non-perfectly-obvious fact deserves to be mentioned in the specification of ::usingProxy method

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jboes Julia Boes
              Reporter:
              dbessono Dmitry Bessonov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: