https://bz.apache.org/bugzilla/show_bug.cgi?id=67579

--- Comment #5 from PJ Fanning <fannin...@yahoo.com> ---
@nniesen - we might need to undo the changes I put in. 

If you read the stuff about poi-reproducer in
https://lists.apache.org/thread/0l5mrsb097rrwbvk5sgshp725zop6q44 - you'll see
that POI 5.2.3 is the outlier. Most POI releases have closed input streams
after using them. So the argument is that POI 5.2.3 had the regression and that
POI 5.2.4 undid the regression.

I agree that POI shouldn't close user-provided input streams but the truth is
that POI has done so and done so for a long time.

Anyone who wants to stop POI closing their InputStreams could wrap their stream
to disable the close on their stream.

Example in
https://github.com/apache/poi/blob/f64524916d449d37350e0763e4f86edc239bbd34/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/internal/NoCloseInputStream.java

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to