RFR: 8328648: Remove applet usage from JFileChooser tests bug4150029

Alexander Zuev kizune at openjdk.org
Thu Mar 21 15:17:20 UTC 2024


On Wed, 20 Mar 2024 22:48:46 GMT, Alisen Chung <achung at openjdk.org> wrote:

> Removing applet usage from manual JFileChooser tests

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

> 109:         } finally {
> 110:             if (!res) {
> 111:                 throw new RuntimeException("BackSpace keyboard button does not lead to parent directory");

Since we are using PassFailJFrame anyways we can also use static method PassFailJFrame.forceFail(String reason) for connsistency.

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

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


More information about the client-libs-dev mailing list