RFR: 8299015: Ensure that HttpResponse.BodySubscribers.ofFile writes all bytes [v5]
Chris Hegarty
chegar at openjdk.org
Tue Dec 20 14:46:51 UTC 2022
On Tue, 20 Dec 2022 14:42:50 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Chris Hegarty has updated the pull request incrementally with one additional commit since the last revision:
>>
>> retry
>
> src/java.net.http/share/classes/jdk/internal/net/http/ResponseSubscribers.java line 305:
>
>> 303: }
>> 304: }
>> 305: } catch (Exception ex) {
>
> I believe we should change that line to `catch (IOException | ArithmeicException ex) {`
Agreed. Testing it locally before pushing.
-------------
PR: https://git.openjdk.org/jdk/pull/11722
More information about the net-dev
mailing list