[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [bugs #9637] setClip(null) should remove clip
From: |
Michael Koch |
Subject: |
[commit-cp] [bugs #9637] setClip(null) should remove clip |
Date: |
Mon, 13 Dec 2004 10:22:01 -0500 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.2; Linux; X11; i686; de, address@hidden) (KHTML, like Gecko) |
This mail is an automated notification from the bugs tracker
of the project: classpath.
/**************************************************************************/
[bugs #9637] Latest Modifications:
Changes by:
Michael Koch <address@hidden>
'Date:
Mon 13.12.2004 at 15:15 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
This was fixed by this CVS commit:
2004-12-11 Thomas Fitzsimmons <address@hidden>
* gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
against null clip region.
* gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
gtkWindowSetResizable.
(postConfigureEvent): Only revalidate if frame size has changed.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
Only revalidate if frame size has changed.
* java/awt/Component.java (reshape): Only repaint and post
component events if component is showing.
* java/awt/Container.java (addImpl): Only post container event if
container is showing.
(remove): Likewise.
* java/awt/Window.java (setLocationRelativeTo): Implement.
(setBoundsCallback): Only post component events if component is
showing.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
Protect against null graphics structure. Flush gdk event queue.
/**************************************************************************/
[bugs #9637] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9637>
Project: classpath
Submitted by: 0
On: Mit 14.07.2004 at 00:16
Category: classpath
Severity: 5 - Average
Resolution: Fixed
Privacy: Public
Assigned to: None
Status: Closed
Platform Version: None
Summary: setClip(null) should remove clip
Original Submission: In Sun's Java, 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.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Mon 13.12.2004 at 15:15 By: Michael Koch <mkoch>
This was fixed by this CVS commit:
2004-12-11 Thomas Fitzsimmons <address@hidden>
* gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
against null clip region.
* gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
gtkWindowSetResizable.
(postConfigureEvent): Only revalidate if frame size has changed.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
Only revalidate if frame size has changed.
* java/awt/Component.java (reshape): Only repaint and post
component events if component is showing.
* java/awt/Container.java (addImpl): Only post container event if
container is showing.
(remove): Likewise.
* java/awt/Window.java (setLocationRelativeTo): Implement.
(setBoundsCallback): Only post component events if component is
showing.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
Protect against null graphics structure. Flush gdk event queue.
-------------------------------------------------------
Date: Don 29.07.2004 at 20:50 By: Mark Wielaard <mark>
This is now also tracked as the following GCC AWT bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16822
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9637>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-cp] [bugs #9637] setClip(null) should remove clip,
Michael Koch <=