hg: jdk7/tl/jdk: 7000511: PrintStream, PrintWriter, Formatter, Scanner leave files open when exception thrown

chris.hegarty at oracle.com chris.hegarty at oracle.com
Fri Jan 7 13:09:19 UTC 2011


Changeset: b8663921f5d7
Author:    chegar
Date:      2011-01-07 13:08 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/b8663921f5d7

7000511: PrintStream, PrintWriter, Formatter, Scanner leave files open when exception thrown
Reviewed-by: alanb, mduigou

! src/share/classes/java/io/PrintStream.java
! src/share/classes/java/io/PrintWriter.java
! src/share/classes/java/util/Formatter.java
! src/share/classes/java/util/Scanner.java
! test/ProblemList.txt
+ test/java/io/PrintStream/FailingConstructors.java
+ test/java/io/PrintWriter/FailingConstructors.java
! test/java/util/Formatter/Constructors.java
+ test/java/util/Formatter/FailingConstructors.java
+ test/java/util/Scanner/FailingConstructors.java




More information about the security-dev mailing list