-
Bug
-
Resolution: Not an Issue
-
P5
-
None
-
1.0, 1.4.0
Name: bkR10101 Date: 11/12/2001
Specification for
public abstract void setClip(Shape clip)
method states: "Not all objects that implement the Shape interface can be
used to set the clip"
but in the same time it says nothing about the criterion to determine
if an object can be used to set the clip. If there is no such a criterion i.e.
the object must be Rectangle, why the type of parameter is Shape?
======================================================================
Specification for
public abstract void setClip(Shape clip)
method states: "Not all objects that implement the Shape interface can be
used to set the clip"
but in the same time it says nothing about the criterion to determine
if an object can be used to set the clip. If there is no such a criterion i.e.
the object must be Rectangle, why the type of parameter is Shape?
======================================================================
- duplicates
-
JDK-4531136 Graphics.setClip() throws IllegalArgumentException
- Closed