You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2021/04/08 12:05:07 UTC

[GitHub] [cxf] Sevyls edited a comment on pull request #771: CXF-8442 Java 16 & CachedOutputStream Fix IOException closed after multiple close() & postClose() calls

Sevyls edited a comment on pull request #771:
URL: https://github.com/apache/cxf/pull/771#issuecomment-815715068


   Hi @reta,
   
   Thank for your answer and suggestions. I reverted my changes in `CacheAndWriteOutputStream`.
   
   I added a variable isClosed to `CacheAndWriteOutputStream` and as `postClose()` and `closeFlowthroughStream()` had the same implementation I reduced it to a call to `postClose()`. 
   
   Please review my pull request again, see the test case `CacheAndWriteOutputStreamTest#testCloseMultipleTimes()`.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org