RFR: 8353488: Open some JComboBox bugs 3 [v3]
Alexander Zuev
kizune at openjdk.org
Tue Apr 22 15:25:50 UTC 2025
On Mon, 21 Apr 2025 23:02:13 GMT, Alisen Chung <achung at openjdk.org> wrote:
>> Opening some JComboBox bugs
>
> 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.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24767#discussion_r2054351732
More information about the client-libs-dev
mailing list