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

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

    • 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.

          [JENKINS-57107] SafeURLStreamHandler does not overwrite openConnection(URL u, Proxy p)

          Markus Winter created issue -
          Jeff Thompson made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jeff Thompson made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Jeff Thompson made changes -
          Released As New: Remoting 3.30
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Oleg Nenashev made changes -
          Released As Original: Remoting 3.30 New: Remoting 3.30, , Jenkins 2.176
          Oleg Nenashev made changes -
          Labels New: lts-candidate
          Oliver Gondža made changes -
          Labels Original: lts-candidate

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

              Created:
              Updated:
              Resolved: