-
CSR
-
Resolution: Unresolved
-
P4
-
None
-
minimal
-
Documenting existing behaviour. No code change.
-
Java API
-
SE
Summary
Specify that after java.awt.PrintJob.end() has been called, java.awt.PrintJob.getGraphics() will return null.
Problem
It has always been the behaviour that after PrintJob.end() has been called, PrintJob.getGraphics() will return null, but this has never been documented.
Solution
Update the specification accordingly.
Specification
Add the following text to the method
public Graphics java.awt.PrintJob.getGraphics();
+ * If {@code PrintJob.end()} has been called, this method will
+ * return {@code null}.
- csr of
-
JDK-8368576 PrintJob.getGraphics() does not specify behavior after PrintJob.end()
-
- Open
-