hg: jdk8/tl/jdk: 7015589: (spec) BufferedWriter.close leaves stream open if close of underlying Writer fails
alan.bateman at oracle.com
alan.bateman at oracle.com
Thu Aug 18 15:54:11 UTC 2011
Changeset: 759aa847dcaf
Author: alanb
Date: 2011-08-18 16:47 +0100
URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/759aa847dcaf
7015589: (spec) BufferedWriter.close leaves stream open if close of underlying Writer fails
Reviewed-by: forax, mduigou
! src/share/classes/java/io/BufferedReader.java
! src/share/classes/java/io/BufferedWriter.java
! src/share/classes/java/io/Closeable.java
! src/share/classes/java/io/FilterOutputStream.java
! src/share/classes/java/lang/AutoCloseable.java
+ test/java/io/etc/FailingFlushAndClose.java
! test/java/lang/ProcessBuilder/Basic.java
More information about the security-dev
mailing list