RFR: 7093322: (fs spec) Files.newBufferedWriter should be clear when coding errors are detected [v2]
Brian Burkhalter
bpb at openjdk.org
Mon Dec 12 19:16:07 UTC 2022
On Sat, 10 Dec 2022 08:56:47 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> There isn't an "underlying stream" here but "file" could work. Alternatively, maybe this would work:
Well there is a stream created internally but I guess that's an implementation detail we need not mention.
> "Due to buffering, an IOException due to an encoding error (unmappable-character or malformed-input) may be thrown when writing, flushing or closing the buffered writer."
Updated in 20369045bcba2fac3a34c5d6f7ac3f54e582eb3f.
-------------
PR: https://git.openjdk.org/jdk/pull/11616
More information about the nio-dev
mailing list