RFR: 8366359: Test should throw SkippedException when there is no lpstat [v4]
SendaoYan
syan at openjdk.org
Fri Aug 29 10:29:58 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 invokes lpstat explicitly.
>
> Change has been verified locally, test-fix only, no risk.
SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
1. add import java.io.IOException; 2. Re-throw the IOException if do not throw SkippeException
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26988/files
- new: https://git.openjdk.org/jdk/pull/26988/files/7598971d..62fbc672
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26988&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26988&range=02-03
Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 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