RFR: 8322239: [macos] a11y : java.lang.NullPointerException is thrown when focus is moved on the JTabbedPane [v3]

Alexander Zuev kizune at openjdk.org
Thu Feb 15 17:46:08 UTC 2024


On Wed, 14 Feb 2024 20:01:01 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> done.
>
> This is not thread-safe, the condition `if (mainFrame != null)` should also be inside `invokeAndWait`.
> 
> Maybe create a method to use method reference: `invokeAndWait(me::dispose)`? In this case, `mainFrame` could be made instance field.

Done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17736#discussion_r1491387725


More information about the client-libs-dev mailing list