hg: jdk/submit: 8232003: (fs) Files.write can leak file descriptor in the exception case
sgehwolf at redhat.com
sgehwolf at redhat.com
Tue Oct 8 18:00:40 UTC 2019
Changeset: 18f1baef9507
Author: sgehwolf
Date: 2019-10-08 15:30 +0200
URL: https://hg.openjdk.java.net/jdk/submit/rev/18f1baef9507
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
! src/java.base/share/classes/java/nio/file/Files.java
More information about the jdk-submit-changes
mailing list