Integrated: 8373239: Test java/awt/print/PrinterJob/PageRanges.java fails with incorrect selection of printed pages

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Jan 28 07:02:20 UTC 2026


On Tue, 20 Jan 2026 09:11:06 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 1161a640
Author:    Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1161a640abe454b47de95ed73452a78535160deb
Stats:     6 lines in 2 files changed: 4 ins; 0 del; 2 mod

8373239: Test java/awt/print/PrinterJob/PageRanges.java fails with incorrect selection of printed pages

Reviewed-by: prr, aivanov

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

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


More information about the client-libs-dev mailing list