[Bug AWT/16822] New: Graphics.setClip(null) should remove clip
mark at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jul 29 20:49:00 GMT 2004
Graphics.setClip(null) resets the current clip to the device clip, i.e., removes
the user clip. This is not explicitly specced, but is implicit in that
Graphics.getClip() is specced to return null when there is no user clip, and
setClip() is specced to take those values that getClip() returns. In the current
Classpath, however, setClip(null) throws a NullPointerException, as a null value
is not checked for.
This bug report comes from GNU Classpath:
https://savannah.gnu.org/bugs/?func=detailitem&item_id=9637
--
Summary: Graphics.setClip(null) should remove clip
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: AWT
AssignedTo: fitzsim at redhat dot com
ReportedBy: mark at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16822
More information about the Gcc-bugs
mailing list