RFR: 8274809: Update java.base classes to use try-with-resources [v4]

Andrey Turbanov duke at openjdk.java.net
Thu Dec 23 21:27:17 UTC 2021


On Fri, 10 Dec 2021 18:18:02 GMT, Andrey Turbanov <duke at openjdk.java.net> wrote:

>> This is legacy code with probably poor testing coverage. Usually we don't print anything on the console directly and unconditionally - except in some well identified cases. Ignoring exceptions thrown by `close` is a common idiom. That said - it does seem that this method is indeed never called - so for the sake of simplification I'd agree to keep this change as proposed.
>> Remind me to sponsor this after the fork.
>
>>Remind me to sponsor this after the fork.
> 
> fork is done :)

Looks like `/sponsor` in comment is not considered as a command by bot

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

PR: https://git.openjdk.java.net/jdk/pull/5818


More information about the security-dev mailing list