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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • remoting
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: