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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

            Assignee:
            Jeff Thompson
            Reporter:
            Markus Winter
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: