RFR: 8368576: PrintJob.getGraphics() does not specify behavior after PrintJob.end()
Sergey Bylokhov
serb at openjdk.org
Thu Sep 25 19:11:16 UTC 2025
On Thu, 25 Sep 2025 18:46:15 GMT, Phil Race <prr at openjdk.org> wrote:
> I think it unnecessary to say that you can't continue to print after calling end.
It might be useful to mention that, as far as I understand, calling methods on a Graphics object after its target has been disposed is undefined behavior. I hope it does not cause a crash or something.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27474#issuecomment-3335580576
More information about the client-libs-dev
mailing list