RFR: 8274809: Update java.base classes to use try-with-resources [v3]
Bradford Wetmore
wetmore at openjdk.java.net
Wed Oct 6 19:48:10 UTC 2021
On Wed, 6 Oct 2021 16:07:12 GMT, Bradford Wetmore <wetmore at openjdk.org> wrote:
>> Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8274809: Update java.base classes to use try-with-resources
>> update copyright year
>
> src/java.base/share/classes/sun/security/util/PolicyUtil.java line 156:
>
>> 154: }
>> 155:
>> 156: try (InputStream inStream = new BufferedInputStream(getInputStream(keyStoreUrl))) {
>
> Same comment as above.
Looks like it's still > 80 chars
-------------
PR: https://git.openjdk.java.net/jdk/pull/5818
More information about the net-dev
mailing list