-
Enhancement
-
Resolution: Fixed
-
P3
-
None
-
b20
Many built-in URL Handlers perform additional syntax checking on the URL when URLStreamHandler::openConnection / connect is called. In some cases, some of these checks could be also performed earlier, when URLStreamHandler::parseURL is called.
Because URLStreamHandler::parseURL is called during URL construction, throwing a MalformedURLException in parseURL would avoid letting the caller construct an URL that will later fail when invoking URL::openConnection.
Because URLStreamHandler::parseURL is called during URL construction, throwing a MalformedURLException in parseURL would avoid letting the caller construct an URL that will later fail when invoking URL::openConnection.
- csr for
-
JDK-8294592 Some syntax checks performed by URL.openConnection() could be performed earlier, at URL construction
- Closed
- relates to
-
JDK-8294951 Refactor IPAddressUtil
- Open
-
JDK-8294241 Deprecate URL public constructors
- Resolved