RFR: 8373239: Test java/awt/print/PrinterJob/PageRanges.java fails with incorrect selection of printed pages [v3]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Wed Jan 21 07:26:38 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 with a new target base due to a merge or a rebase. The pull request now contains four commits:
- Merge master
- Merge master
- Remove PageRange attribute if range is not set
- 8373239: Test java/awt/print/PrinterJob/PageRanges.java fails with incorrect selection of printed pages
-------------
Changes: https://git.openjdk.org/jdk/pull/29312/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29312&range=02
Stats: 4 lines in 2 files changed: 2 ins; 0 del; 2 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