Affects: \


Starting from version 5.2.10.RELEASE on HTTP response AbstractGenericHttpMessageConverter (Jackson) tries too flush already closed stream .

Seems Tomcat handles this gracefully, even if org.apache.catalina.connector.OutputBuffer.closed == true on the last flush. But this causes problems for OpenLiberty: https://github.com/OpenLiberty/open-liberty/issues/14875 Here is repository with example for OL: https://github.com/pkunk/wlp-spring

Comment From: bclozel

This is a duplicate of #25989 which has been fixed already. Feel free to check out SNAPSHOTs and validate the fix before our next release.

Thanks for getting in touch!

Comment From: pkunk

Confirm. Cannot reproduce on SNAPSHOT build. Thank you for your work.