JDK-4650190 : Image.getGraphics() behavior not specified for on-screen images
Type:Bug
Component:docs
Sub-Component:guides
Affected Version:1.4.0,1.4.1,5.0
Priority:P4
Status:Closed
Resolution:Fixed
OS:generic,solaris_7
CPU:generic,sparc
Submitted:2002-03-09
Updated:2017-05-16
Resolved:2003-09-29
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.
Image.getGraphics() can only be called for off-screen images. However, the spec doesn't state what should happen when it is called for an Image that isn't off-screen.
EVALUATION
Not only was the exception thrown not documented, but it
was inappropriate. We've changed the exception from
IllegalAccessError to UnsupportedOperationException
and documented it.
###@###.### 2003-09-22