RFR: 8367702: PrintJob.getGraphics() should return null after PrintJob.end
Alexander Zvegintsev
azvegint at openjdk.org
Wed Sep 24 13:19:18 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.
Marked as reviewed by azvegint (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27458#pullrequestreview-3262860180
More information about the client-libs-dev
mailing list