On Wed, 20 Sep 2023 05:41:01 GMT, Abhishek Kumar <[email protected]> wrote:

>> Opening some swing tests:
>> 1 javax/swing/LayoutComparator/4907772/bug4907772.java
>> 2 javax/swing/LayoutComparator/4979794/bug4979794.java
>> 3 javax/swing/LegacyGlueFocusTraversalPolicy/4765272/bug4765272.java
>> 4 javax/swing/RootPaneChecking/RootPaneChecking.java
>
> test/jdk/javax/swing/JComponent/bug4765272.java line 43:
> 
>> 41: 
>> 42: public class bug4765272 {
>> 43:     static boolean focusGained = false;
> 
> volatile?

Looks like focusGained is only accessed on the EDT unless I'm missing an 
instance.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15830#discussion_r1331915737

Reply via email to