RFR: 8339233: Test javax/swing/JButton/SwingButtonResizeTestWithOpenGL.java#id failed: Button renderings are different after window resize [v4]

Tejesh R tr at openjdk.org
Wed Sep 4 07:09:22 UTC 2024


On Wed, 4 Sep 2024 07:03:54 GMT, Manukumar V S <mvs at openjdk.org> wrote:

>> test/jdk/javax/swing/JButton/SwingButtonResizeTestWithOpenGL.java line 213:
>> 
>>> 211: 
>>> 212:     private void disposeFrame() {
>>> 213:         frame.dispose();
>> 
>> null check might be required here.
>
>> null check might be required here.
> 
> But we are not setting it as null anywhere in the code.

What if its not initialized at first place? To handle this scenario most of the test has this condition.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20777#discussion_r1743184534


More information about the client-libs-dev mailing list