Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
0.23.0
-
None
-
None
-
None
Description
IOUtils.java
try { copyBytes(in, out, buffSize); } finally { if(close) { out.close(); in.close(); } }
In the above code if any exception throws from the out.close() statement, in.close() statement will not execute and the input stream will not be closed.