Motivation: An IOException may be thrown from FileChannel.read, and cause the fd leak. Modification: Close the file when IOException occurs. Result: Avoid fd leak. |
||
---|---|---|
.. | ||
src | ||
pom.xml |
Motivation: An IOException may be thrown from FileChannel.read, and cause the fd leak. Modification: Close the file when IOException occurs. Result: Avoid fd leak. |
||
---|---|---|
.. | ||
src | ||
pom.xml |