From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2243 invoked by alias); 29 Jul 2004 20:49:26 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 2222 invoked by uid 48); 29 Jul 2004 20:49:26 -0000 Date: Thu, 29 Jul 2004 20:49:00 -0000 From: "mark at gcc dot gnu dot org" To: java-prs@gcc.gnu.org Message-ID: <20040729204922.16822.mark@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug AWT/16822] New: Graphics.setClip(null) should remove clip X-Bugzilla-Reason: CC X-SW-Source: 2004-q3/txt/msg00146.txt.bz2 List-Id: 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