RFR: 8327748: Convert javax/swing/JFileChooser/6798062/bug6798062.java applet test to main [v3]

Alexey Ivanov aivanov at openjdk.org
Tue Mar 12 11:14:16 UTC 2024


On Tue, 12 Mar 2024 10:51:47 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> As I understood, testUI calls the passed method in EDT so I think it's better to init the swing variables there..

Yes, that's true, if you pass a lambda expression to `testUI`, it is called on EDT.

Since `initialize` is called from `createUI`, both methods will be called on EDT.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18180#discussion_r1521271334


More information about the client-libs-dev mailing list