On Tue, 15 Apr 2025 07:26:58 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

>> Few Swing AbstractButton, JList and JMenu tests are open sourced.
>
> test/jdk/javax/swing/AbstractButton/bug4133768.java line 54:
> 
>> 52:     private static AbstractButton[] buttons;
>> 53:     private static Point buttonLocation;
>> 54:     private static int buttonWidth, buttonHeight;
> 
> different line declaration needed..

also these vars needed volatile..

> test/jdk/javax/swing/AbstractButton/bug4391622.java line 54:
> 
>> 52:     private static JFrame f;
>> 53:     private static Point buttonLocation;
>> 54:     private static int buttonWidth, buttonHeight;
> 
> different line

volatile

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24650#discussion_r2043846400
PR Review Comment: https://git.openjdk.org/jdk/pull/24650#discussion_r2043847394

Reply via email to