RFR: 8136895: Writer not closed with disk full error, file resource leaked [v3]

Brian Burkhalter bpb at openjdk.org
Thu Apr 27 00:38:53 UTC 2023


On Tue, 18 Apr 2023 16:42:18 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8136895: Trivial formatting corrections in tests
>
> test/jdk/java/nio/channels/Channels/Close.java line 50:
> 
>> 48:                     (channel, StandardCharsets.UTF_8.newEncoder(), -1 )) {
>> 49:                 writer.write(s);
>> 50:             } catch(IOException ex) {
> 
> Suggestion:
> 
>             } catch (IOException ex) {

So changed in 4c8ab6d.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13503#discussion_r1178505787


More information about the nio-dev mailing list