RFR: 8368576: PrintJob.getGraphics() does not specify behavior after PrintJob.end()
Sergey Bylokhov
serb at openjdk.org
Sat Oct 18 03:14:04 UTC 2025
On Thu, 25 Sep 2025 19:08:48 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> 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.
still think it is better to specify and test......https://bugs.openjdk.org/browse/JDK-8367702
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27474#issuecomment-3417749186
More information about the client-libs-dev
mailing list