hg: jdk-updates/jdk11u-dev: 8232003: (fs) Files.write can leak file descriptor in the exception case

sgehwolf at redhat.com sgehwolf at redhat.com
Fri Dec 6 16:31:26 UTC 2019


Changeset: 3d585c4c3509
Author:    sgehwolf
Date:      2019-10-08 15:30 +0200
URL:       https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/3d585c4c3509

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-updates-changes mailing list