public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug AWT/16822] New: Graphics.setClip(null) should remove clip
@ 2004-07-29 20:49 mark at gcc dot gnu dot org
  2004-08-02 19:08 ` [Bug AWT/16822] " pinskia at gcc dot gnu dot org
  2005-08-21  5:33 ` [Bug awt/16822] " fitzsim at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: mark at gcc dot gnu dot org @ 2004-07-29 20:49 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-16  1:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-16822-3639@http.gcc.gnu.org/bugzilla/>
2005-10-16  1:47 ` [Bug awt/16822] Graphics.setClip(null) should remove clip pinskia at gcc dot gnu dot org
2004-07-29 20:49 [Bug AWT/16822] New: " mark at gcc dot gnu dot org
2004-08-02 19:08 ` [Bug AWT/16822] " pinskia at gcc dot gnu dot org
2005-08-21  5:33 ` [Bug awt/16822] " fitzsim at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).