SecurityException thrown by URLStreamHandler::setURL in case of handler mismatch could be changed into IllegalArgumentException

XMLWordPrintable

      This is a specification change that will require a CSR but the compatibility impact should be low.

      It is strange that URLStreamHandler::setURL throws SecurityException when a handler mismatch is detected. It would make more sense to throw IllegalArgumentException in this case.

            Assignee:
            Daniel Fuchs
            Reporter:
            Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: