RFR: 8315677: Open source few swing JFileChooser and other tests
Tejesh R
tr at openjdk.org
Tue Sep 12 05:13:39 UTC 2023
On Thu, 7 Sep 2023 18:57:50 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:
> Few closed JFileChooser and other swing tests are open sourced.
test/jdk/javax/swing/JFileChooser/bug4624353.java line 55:
> 53: fr.getContentPane().add(fc);
> 54: fr.pack();
> 55: fr.setVisible(true);
Delay might be required before starting test.
test/jdk/javax/swing/JFileChooser/bug4624353.java line 59:
> 57: passAround(fc);
> 58: if (!passed) {
> 59: throw new RuntimeException("Test failed");
RuntimeException can be outside SwingUtility to avoid Invocation error.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15626#discussion_r1322391425
PR Review Comment: https://git.openjdk.org/jdk/pull/15626#discussion_r1322392286
More information about the client-libs-dev
mailing list