Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
This bug is submitted to track a discussion on core-libs-dev: http://mail.openjdk.java.net/pipermail/core-libs-dev/2011-January/005732.html In summary, BufferedWriter#close will fail with IOException and leave the stream open in the event that the close of the underlying Writer fails. BufferedReader has the same issue. A related issue is that FilterOutputStream#close doesn't propogate the exception from the flush if it fails when closing the stream.
|