RFR: 8284672: Collapse identical catch branches in java.desktop [v2]

Andrey Turbanov aturbanov at openjdk.org
Thu Jun 16 17:33:55 UTC 2022


On Thu, 16 Jun 2022 03:43:55 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8284672: Collapse identical catch branches in java.desktop
>>   fix formatting
>
> src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/Metacity.java line 120:
> 
>> 118:             try {
>> 119:                 INSTANCE = new Metacity(themeName);
>> 120:             } catch (FileNotFoundException ex) {
> 
> Is it possible that the FileNotFoundException was ignored intentionally? After this change, it will be traced.

I didn't change how `FileNotFoundException` is handled. It's still ignored.

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

PR: https://git.openjdk.org/jdk/pull/8154



More information about the client-libs-dev mailing list