RFR: 8353488: Open some JComboBox bugs 3 [v3]
Alisen Chung
achung at openjdk.org
Tue Apr 22 15:33:05 UTC 2025
On Tue, 22 Apr 2025 15:22:50 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
>> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
>>
>> add volatile
>
> test/jdk/javax/swing/JComboBox/bug4436376.java line 44:
>
>> 42: static JFrame frame;
>> 43: static volatile Point p;
>> 44: static volatile JComboBox combo;
>
> Making Swing object volatile does not mean that calling its methods not from EDT is Ok. As a solution you can perform the entire check block together with throwing an exception inside the invokeAndWait block. Same with the second test.
done
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24767#discussion_r2054364180
More information about the client-libs-dev
mailing list