Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57107

SafeURLStreamHandler does not overwrite openConnection(URL u, Proxy p)

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: remoting
    • Labels:
      None
    • Similar Issues:
    • Released As:
      Remoting 3.30, , Jenkins 2.176

      Description

      In a plugin I tried to open a connection with proxy on an URL object that has the SafeURLStreamHandler as its handler.

      url.openConnection(proxy)

      SafeURLStreamHandler is not overwriting openConnection(URL u, Proxy p) and due to that an UnsupportedOperationException exception is thrown.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              jthompson Jeff Thompson
              Reporter:
              mawinter69 Markus Winter
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: