8245462: HttpClient send throws InterruptedException when interrupted but does not cancel request

Alan Bateman Alan.Bateman at oracle.com
Fri Aug 14 17:01:10 UTC 2020



On 14/08/2020 16:43, Daniel Fuchs wrote:
> Hi,
>
> After discussion with Chris & Alan I have slightly reworded
> the API documentation, and ensured the MultiExchange is only
> weakly referenced from the MinimalFuture to avoid the risk of
> pinning the exchange in memory after it is no longer needed.
>
> Also I added a trivial test for the case where the thread is
> interrupted just before calling HttpClient::send.
>
> The new webrev is at:
> http://cr.openjdk.java.net/~dfuchs/webrev_8245462/webrev.03/
>
> The generated API documentation for the HttpClient class can
> be seen at:
> http://cr.openjdk.java.net/~dfuchs/webrev_8245462/docs.03/java.net.http/java/net/http/HttpClient.html 
>
>
> The CSR has been updated with the latest changes:
> https://bugs.openjdk.java.net/browse/JDK-8251312
I'm happy with the update to the API docs and have added myself as 
Reviewer on the CSR.

-Alan


More information about the net-dev mailing list