[jdk25u-dev] RFR: 8274082: Wrong test name in jtreg run tag for java/awt/print/PrinterJob/SwingUIText.java

Roland Mesde duke at openjdk.org
Wed Feb 11 19:11:25 UTC 2026


Backporting JDK-8274082: Wrong test name in jtreg run tag for java/awt/print/PrinterJob/SwingUIText.java.

This PR fixes SwingUIText.java test by correcting jtreg tag syntax/test name, migrating to PassFailJFrame framework for proper Pass/Fail buttons, and adding printer availability check.

For parity with Oracle JDK.

Ran manual test on macos-aarch64:

~/github/jtreg/build/images/jtreg/bin/jtreg -jdk build/macosx-aarch64-server-release/images/jdk -m test/jdk/java/awt/print/PrinterJob/SwingUIText.java

<img width="1777" height="754" alt="ScreenshotOfTest" src="https://github.com/user-attachments/assets/b8440b12-4a9b-40a3-816d-4b496a9d2f72" />

[PrintoutForTest.pdf](https://github.com/user-attachments/files/25242477/PrintoutForTest.pdf)

[summary.txt](https://github.com/user-attachments/files/25242474/summary.txt)

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

Commit messages:
 - Backport 13adcd99db4f14caf90de7f59e341380cfa354b0

Changes: https://git.openjdk.org/jdk25u-dev/pull/253/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=253&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8274082
  Stats: 196 lines in 1 file changed: 36 ins; 140 del; 20 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/253.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/253/head:pull/253

PR: https://git.openjdk.org/jdk25u-dev/pull/253


More information about the jdk-updates-dev mailing list