RFR: 8366359: Test should throw SkippedException when there is no lpstat

SendaoYan syan at openjdk.org
Thu Aug 28 14:28:57 UTC 2025


Hi all,

I think test javax/print/PrintServiceLookup/CountPrintServices.java should throw jtreg.SkippedException when there is no lpstat, rather that report test failure.

Only javax/print/PrintServiceLookup/CountPrintServices.java invoke lpstat explicitly.

Change has been verified locally, test-fix only, no risk.

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

Commit messages:
 - 8366359: Test should throw SkippedException when there is no lpstat

Changes: https://git.openjdk.org/jdk/pull/26988/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26988&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366359
  Stats: 14 lines in 1 file changed: 8 ins; 2 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/26988.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26988/head:pull/26988

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


More information about the client-libs-dev mailing list