RFR: 8373239: Test java/awt/print/PrinterJob/PageRanges.java fails with incorrect selection of printed pages [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Wed Jan 21 06:27:42 UTC 2026
> If same `PrinterJob `is reused to first print user-set `PageRange `pages and then print ALL pages, it prints the first print job correctly as the page range is set but 2nd job doesn't print ALL pages and reprint the same page range as `from` and `to` page are not reset and reused
>
> Fix is made to check if page range is not set then print all pages
Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
Remove PageRange attribute if range is not set
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29312/files
- new: https://git.openjdk.org/jdk/pull/29312/files/fe390b84..15017ef8
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29312&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29312&range=00-01
Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/29312.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29312/head:pull/29312
PR: https://git.openjdk.org/jdk/pull/29312
More information about the client-libs-dev
mailing list