Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.13.1
-
None
-
None
Description
The following code is faulty:
ObjectInputStream in = new ObjectInputStream(new BufferedInputStream( new FileInputStream(path.toUri().getPath()), 4096)); try{ mapJoinTables[pos] = mapJoinTableSerdes[pos].load(in); } finally { in.close(); }
If an exception is thrown from any of the stream constructors, then the wrapped stream will not get closed.