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

--- Comment #12 from Torsten Krah <[email protected]> ---
POI is still closing the InputStream it did not create instead of just reading
from it - so this is still a valid concern if close throws an exception but
data needed could be successfully read.
The original case was fixed later in the JDK and at least my root case - the
javax.crypto.BadPaddingException on close - is not thrown anymore - but the
case itself here to not close the stream it did not create, e.g. like lucene
does not close them and mentions that on the api docs:

https://lucene.apache.org/core/4_9_0/analyzers-common/org/apache/lucene/analysis/hunspell/Dictionary.html

Discussable though.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to