Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
if BlobOutputStream.close() raises an exception, then NativeAzureFsOutputStream.close() doesn't set it's this.out field to null, so close() can still be re-invoked, this time with an error.
the out.close() needs to be moved into the try/finally clause