Skip to content

Commit 5a37374

Browse files
committed
8368576: PrintJob.getGraphics() does not specify behavior after PrintJob.end()
Reviewed-by: psadhukhan, tr, serb
1 parent 2872f81 commit 5a37374

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/java.desktop/share/classes/java/awt/PrintJob.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ protected PrintJob() {}
4646
* The page is sent to the printer when the graphics
4747
* object is disposed. This graphics object will also implement
4848
* the PrintGraphics interface.
49+
* If {@code PrintJob.end()} has been called, this method will
50+
* return {@code null}.
4951
* @see PrintGraphics
5052
* @return the graphics context for printing the next page
5153
*/

0 commit comments

Comments
 (0)