RFR: 8355366: Fix the wrong usage of PassFailJFrame.forcePass() in some manual tests
Alexey Ivanov
aivanov at openjdk.org
Wed Apr 23 20:00:52 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.
I submitted [JDK-8355441](https://bugs.openjdk.org/browse/JDK-8355441) to remove the description of the incorrect usage from `PassFailJFrame.forcePass` javadoc.
Feel free to assign to yourself and fix the issue.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24820#issuecomment-2825375882
More information about the client-libs-dev
mailing list