RFR: 8355366: Fix the wrong usage of PassFailJFrame.forcePass() in some manual tests
Manukumar V S
mvs at openjdk.org
Thu Apr 24 16:43:10 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
I have opened this PR because my other PR https://github.com/openjdk/jdk/pull/24820 got accidentally closed.
-------------
Commit messages:
- 8355366: Fix the wrong usage of PassFailJFrame.forcePass() in some manual tests
Changes: https://git.openjdk.org/jdk/pull/24853/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24853&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8355366
Stats: 63 lines in 3 files changed: 27 ins; 24 del; 12 mod
Patch: https://git.openjdk.org/jdk/pull/24853.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24853/head:pull/24853
PR: https://git.openjdk.org/jdk/pull/24853
More information about the client-libs-dev
mailing list