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

Manukumar V S mvs at openjdk.org
Wed Apr 23 09:40:19 UTC 2025


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.

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

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

Changes: https://git.openjdk.org/jdk/pull/24820/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24820&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8355366
  Stats: 55 lines in 3 files changed: 24 ins; 25 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/24820.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24820/head:pull/24820

PR: https://git.openjdk.org/jdk/pull/24820


More information about the client-libs-dev mailing list