RFR: 8284672: Collapse identical catch branches in java.desktop [v2]
Sergey Bylokhov
serb at openjdk.org
Mon Jun 20 08:59:01 UTC 2022
On Thu, 16 Jun 2022 17:30:21 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
>> 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.
For some reason I thought it was merged to the IOException.
-------------
PR: https://git.openjdk.org/jdk/pull/8154
More information about the client-libs-dev
mailing list