RFR: 8328648: Remove applet usage from JFileChooser tests bug4150029 [v5]

Abhishek Kumar abhiscxk at openjdk.org
Fri Mar 29 05:36:32 UTC 2024


On Wed, 27 Mar 2024 22:07:43 GMT, Alisen Chung <achung at openjdk.org> wrote:

>> Removing applet usage from manual JFileChooser tests
>
> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   removed second pass check

test/jdk/javax/swing/JFileChooser/4150029/bug4150029.java line 128:

> 126:         clickBackSpace();
> 127:         if (prevDir != crntDir) {
> 128:             passed = true;

`passed` variable looks redundant now. You can compare the `prevDir` and `crntDir` inside if condition and if they are same then test should fail.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18415#discussion_r1544062398


More information about the client-libs-dev mailing list