On Tue, 21 Nov 2023 15:08:34 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> Tejesh R has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Review fix
>
> src/java.desktop/share/classes/sun/swing/SwingUtilities2.java line 2371:
> 
>> 2369:             return table.getWidth();
>> 2370:         }
>> 2371:         return table.getParent().getWidth();
> 
> The condition `table != null` seems redundant — if it's `null`, the 
> expression `table.getParent()` in the return statement throws NPE.

Not applicable now.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16374#discussion_r1402161989

Reply via email to