Integrated: 8266761: AssertionError in

Daniel Fuchs dfuchs at
Tue May 11 14:52:22 UTC 2021

On Fri, 7 May 2021 18:38:41 GMT, Daniel Fuchs <dfuchs at> wrote:

> Hi,
> Please find here a fix to prevent an assertion error from firing in the
> The issue occurs systematically when all of these conditions are met:
> 1. System assertions are enabled
> 2. The handler doesn't read or close the request input stream
> 3. The handler sends a reply with no content (just headers, but no body)
> 3. The handler doesn't close the response output stream
> 4. The handler doesn't close the HttpExchange
> The test fails with the assertion error when run without the fix (provided system assertions are enabled) and passes with the fix.

This pull request has now been integrated.

Changeset: 2d2cd78b
Author:    Daniel Fuchs <dfuchs at>
Stats:     245 lines in 3 files changed: 241 ins; 4 del; 0 mod

8266761: AssertionError in

Reviewed-by: chegar



More information about the net-dev mailing list