JDK-5051056 : REGRESSION: getGraphics does not return null after the PrintJob is done
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 5.0u20-rev,6
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2004-05-21
  • Updated: 2009-07-20
  • Resolved: 2004-09-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 mustangFixed
Related Reports
Relates :  
Description
A call to PrintJob.getGraphics after PrintJob.end is called does not return null. The call was returning null in tiger-beta. Reproducible in b48

Steps to reproduce:
1. Run the attached code. This is an applet. Give the command 'appletviewer -Xnosecurity GetGraphics.java' to run it.
2. Follow the steps mentioned in the description panel.


Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang FIXED IN: mustang INTEGRATED IN: mustang
17-09-2004

EVALUATION Name: adR10249 Date: 05/24/2004 Caused by the fix 4968560. Reverting allowed to pass the test. Going to reassign to classes_2D. ###@###.### 24-May-2004 ====================================================================== Not a showstopper. ###@###.### 2004-06-01 ================== The fix for 496860 did not close the queues in PrintJob.end() when currentGraphics==null. ###@###.### 2004-07-27 ==================================
27-07-2004