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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • remoting
    • None
    • Remoting 3.30, , Jenkins 2.176

      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.

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

              Created:
              Updated:
              Resolved: