Integrated: 8367702: PrintJob.getGraphics() should return null after PrintJob.end
Phil Race
prr at openjdk.org
Wed Sep 24 16:32:19 UTC 2025
On Tue, 23 Sep 2025 21:00:18 GMT, Phil Race <prr at openjdk.org> wrote:
> A few days ago it was noticed that there was a printing test (in closed) that didn't have a test tag and on closer examination that was unfortunate because it tested that PrintJob.getGraphics() returns null after PrintJob.end() and that was broken by a recent JDK 26 change
>
> This fixes that and creates an updated open jtreg test so this should not happen again.
> The above will restore the status quo but it was also noted that the PrintJob spec. doesn't describe this.
> I prefer to handle the spec update separately and will do so as soon as this is resolved.
This pull request has now been integrated.
Changeset: 52a923f2
Author: Phil Race <prr at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/52a923f20cac85b2a35705f2d3d72d17c84db3f8
Stats: 67 lines in 2 files changed: 66 ins; 0 del; 1 mod
8367702: PrintJob.getGraphics() should return null after PrintJob.end
Reviewed-by: azvegint
-------------
PR: https://git.openjdk.org/jdk/pull/27458
More information about the client-libs-dev
mailing list