Re: RFR: 8274893: Update java.desktop classes to use try-with-resources [v4]

2021-12-09 Thread Sergey Bylokhov
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

Re: RFR: 8274893: Update java.desktop classes to use try-with-resources [v4]

2021-11-23 Thread Andrey Turbanov
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

Re: RFR: 8274893: Update java.desktop classes to use try-with-resources [v4]

2021-11-23 Thread Andrey Turbanov
> 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 -