RFR: 8136895: Writer not closed with disk full error, file resource leaked [v2]
Brian Burkhalter
bpb at openjdk.org
Thu Apr 27 00:40:22 UTC 2023
On Wed, 19 Apr 2023 19:15:36 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> test/jdk/java/nio/channels/Channels/CloseWriterOnFailedFlush.java line 50:
>>
>>> 48: (channel, StandardCharsets.UTF_8.newEncoder(), -1 )) {
>>> 49: writer.write(s);
>>> 50: } catch(IOException ex) {
>>
>> nit
>> Suggestion:
>>
>> } catch (IOException ex) {
>
>> nit
>
> This trivial change will be made before integration, thanks.
So changed in 4c8ab6d.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13503#discussion_r1178505986
More information about the nio-dev
mailing list