RFR: 8368576: PrintJob.getGraphics() does not specify behavior after PrintJob.end()

Phil Race prr at openjdk.org
Thu Sep 25 18:48:33 UTC 2025


On Wed, 24 Sep 2025 22:47:43 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> Does this mean that using the graphics object after calling .end is not specified as noop? The comments above is from the non public API.

I directed you to the following spec on end()
 * Ends the print job and does any necessary cleanup.

I think it unnecessary to say that you can't continue to print after calling end.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27474#issuecomment-3335515996


More information about the client-libs-dev mailing list