RFR: 8368576: PrintJob.getGraphics() does not specify behavior after PrintJob.end()
Sergey Bylokhov
serb at openjdk.org
Mon Oct 20 22:04:02 UTC 2025
On Mon, 20 Oct 2025 20:41:14 GMT, Phil Race <prr at openjdk.org> wrote:
>The other part about not causing a crash. I agree. But that's not related to specification and should be handled separately.
>I played around and I did actually get a crash on macOS. I will submit a PR for that very shortly
It sounds good, but leaving this unspecified could still be improved, even as a general concept of using graphics after disposal. Otherwise, for example, TCK cannot create tests for it.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27474#issuecomment-3423884376
More information about the client-libs-dev
mailing list