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

Manukumar V S mvs at openjdk.org
Fri Apr 25 20:15:56 UTC 2025


On Thu, 24 Apr 2025 16:36:56 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
> 
> I have opened this PR because my other PR https://github.com/openjdk/jdk/pull/24820 got accidentally closed.

This pull request has now been integrated.

Changeset: 2785570f
Author:    Manukumar V S <mvs at openjdk.org>
Committer: Phil Race <prr at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2785570f5620db08c0d31cd29839f92ffabd58b2
Stats:     63 lines in 3 files changed: 27 ins; 24 del; 12 mod

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

Reviewed-by: honkar, aivanov, prr

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

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


More information about the client-libs-dev mailing list