hg: jdk/jdk: 8232003: (fs) Files.write can leak file descriptor in the exception case
sgehwolf at redhat.com
sgehwolf at redhat.com
Wed Oct 9 11:48:42 UTC 2019
Changeset: 8f849d3ec1e5
Author: sgehwolf
Date: 2019-10-08 15:30 +0200
URL: https://hg.openjdk.java.net/jdk/jdk/rev/8f849d3ec1e5
8232003: (fs) Files.write can leak file descriptor in the exception case
Summary: Be sure to close the leaked OutputStream in all cases
Reviewed-by: alanb, bpb, clanger
! src/java.base/share/classes/java/nio/file/Files.java
More information about the jdk-changes
mailing list