Integrated: 8294948: Document IllegalArgumentException and NullPointerException thrown by URLStreamHandler::parseURL and URLStreamHandler::setURL
Daniel Fuchs
dfuchs at openjdk.org
Thu Oct 20 08:57:56 UTC 2022
On Fri, 7 Oct 2022 16:11:07 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
> During the review of JDK-8293590, it was noted that some methods in `URLStreamHandler` were missing an `@throws IllegalArgumentException` clause in their API documentation.
>
> This change adds the requested information, and also clarifies throwing `MalformedURLException` from URL constructors.
>
> The CSR can be reviewed here: https://bugs.openjdk.org/browse/JDK-8294984
This pull request has now been integrated.
Changeset: 9d0cfd11
Author: Daniel Fuchs <dfuchs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9d0cfd1130b63f7acd67a52eb35c1ec38d43e514
Stats: 52 lines in 2 files changed: 45 ins; 0 del; 7 mod
8294948: Document IllegalArgumentException and NullPointerException thrown by URLStreamHandler::parseURL and URLStreamHandler::setURL
Reviewed-by: jpai, aefimov, alanb, michaelm
-------------
PR: https://git.openjdk.org/jdk/pull/10609
More information about the net-dev
mailing list