RFR: 8294948: Document IllegalArgumentException and NullPointerException thrown by URLStreamHandler::parseURL and URLStreamHandler::setURL [v6]
Jaikiran Pai
jpai at openjdk.org
Tue Oct 11 11:09:02 UTC 2022
On Mon, 10 Oct 2022 09:58:59 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
>
> Daniel Fuchs has updated the pull request incrementally with one additional commit since the last revision:
>
> Minor wording updates - unmmapable single quote character
Marked as reviewed by jpai (Reviewer).
Hello Daniel, the change looks fine to me and it does indeed document what is already being thrown from those methods currently.
-------------
PR: https://git.openjdk.org/jdk/pull/10609
More information about the net-dev
mailing list