RFR: 8355366: Fix the wrong usage of PassFailJFrame.forcePass() in some manual tests

Phil Race prr at openjdk.org
Wed Apr 23 18:40:46 UTC 2025


On Wed, 23 Apr 2025 09:35:25 GMT, Manukumar V S <mvs at openjdk.org> wrote:

> Fix the wrong usage of PassFailJFrame.forcePass() in some manual tests from java.awt.Desktop package. These tests should be fixed similar to [JDK-8352109](https://bugs.openjdk.org/browse/JDK-8352109) and jtreg.SkippedException should be used instead of PassFailJFrame.forcePass().
> Affected tests:
> 1. https://github.com/openjdk/jdk/blob/master/test/jdk/java/awt/Desktop/BrowseTest.java
> 2. https://github.com/openjdk/jdk/blob/master/test/jdk/java/awt/Desktop/OpenTest.java
> 3. https://github.com/openjdk/jdk/blob/master/test/jdk/java/awt/Desktop/EditAndPrintTest/EditAndPrintTest.java
> 
> Testing:
> All the changed tests are tested manually and found to be working fine.

Marked as reviewed by prr (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/24820#pullrequestreview-2788379069


More information about the client-libs-dev mailing list