RFR 8248006 : Revisit exceptions thrown when creating an HttpClient fails due to unavailability of underlying resources.
Daniel Fuchs
daniel.fuchs at oracle.com
Fri Aug 7 09:15:27 UTC 2020
Hi Rahul,
Thanks for taking this on. This looks good to me.
Trivially, there is a space missing before "and" there:
362 * if the implementation requires a {@link Selector},and
opening
No need to publish a new webrev, just make sure to add the missing space
before pushing.
best regards,
-- daniel
On 07/08/2020 10:09, Rahul Yadav wrote:
> Hello,
>
> Request to have my fix reviewed for issue:
>
> JDK-8248006: Revisit exceptions thrown when creating an HttpClient
> fails due to unavailability of underlying resources.
>
> This fix updates jdk.internal.net.http.HttpClientImpl to throw an
> UncheckedIOException instead of InternalError,
> when creating the HttpClient fails due to underlying resources being not
> available, when Selector.open(), which is
> called from the underlying HttpClient implementation constructor, throws
> an IOException.
>
>
> Issue: https://bugs.openjdk.java.net/browse/JDK-8248006
> webrev: http://cr.openjdk.java.net/~ryadav/webrev_8248006/index.html
> csr : https://bugs.openjdk.java.net/browse/JDK-8251198
>
> - rahul
More information about the net-dev
mailing list