-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b72
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8135959 | emb-9 | Brian Burkhalter | P4 | Resolved | Fixed | team |
The changes in JDK-7015589 to use try-with-resources didn't account of writer or output stream implementations that cache the IOException in a way that results in flush and close throwing equal exceptions. The result is that close can throw IllegalAccessException when it attempts to add the suppressed exception.
This bug is reported on core-libs-dev here:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-May/026724.html
This bug is reported on core-libs-dev here:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-May/026724.html
- backported by
-
JDK-8135959 BufferedWriter and FilteredOutputStream.close throw IAE if flush and close throw equal exceptions
-
- Resolved
-
- relates to
-
JDK-6963622 Project Coin: Refinements to suppressed exceptions
-
- Resolved
-
-
JDK-8012044 Give more information about self-suppression from Throwable.addSuppressed
-
- Closed
-