On Tue, 23 Nov 2021 20:52:40 GMT, Andrey Turbanov wrote:
>> 8274893: Update java.desktop classes to use try-with-resources
>
> Andrey Turbanov has updated the pull request incrementally with one
> additional commit since the last revision:
>
> 8274893: Update java.desktop classes to use try-w
On Fri, 19 Nov 2021 19:24:50 GMT, Sergey Bylokhov wrote:
>> updated
>
> What about "new InputStreamReader()" here and below?
added it to `try` too
-
PR: https://git.openjdk.java.net/jdk/pull/5817
> 8274893: Update java.desktop classes to use try-with-resources
Andrey Turbanov has updated the pull request incrementally with one additional
commit since the last revision:
8274893: Update java.desktop classes to use try-with-resources
close nested streams too to unify code
-