Am 03.04.20 um 10:19 schrieb Christof Lorenz:
Hello,

I saw that the inflater's end() method is being called in 
FlateFilter.decompress.
But our tests are showing inflaters not being closed, that were opened by FlateFilter.decompress. I think theĀ inflater.end() should be called in a finally block to really close them all.

What do you guys think?
IMHO there is only one situation when inflater.end() isn't called: whenever an exception occurred. Can you confirm that?

BTW, which version of PDFBox are you using?

Andreas


Christof


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to