RFR: 8354163: Open source Swing tests Batch 1
Prasanta Sadhukhan
psadhukhan at openjdk.org
Tue Apr 15 07:33:58 UTC 2025
On Tue, 15 Apr 2025 07:26:58 GMT, Prasanta Sadhukhan <psadhukhan at 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
More information about the client-libs-dev
mailing list