* gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
authorPer Bothner <per@bothner.com>
Sat, 9 Mar 2002 16:25:13 +0000 (08:25 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Sat, 9 Mar 2002 16:25:13 +0000 (08:25 -0800)
* gnu/gcj/xlib/XImage.java:  Likewise.
* gnu/gcj/xlib/XColor.java:  Likewise.

From-SVN: r50498

libjava/ChangeLog
libjava/gnu/gcj/xlib/WindowAttributes.java
libjava/gnu/gcj/xlib/XColor.java
libjava/gnu/gcj/xlib/XImage.java

index b2a8b0bdca71ee174e587fccd43de1c8f7d87371..2ce41268bbf385208bcf9b503cb612a452f3a305 100644 (file)
@@ -1,3 +1,9 @@
+2002-03-09  Per Bothner  <per@bothner.com>
+
+       * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
+       * gnu/gcj/xlib/XImage.java:  Likewise.
+       * gnu/gcj/xlib/XColor.java:  Likewise.
+
 2002-03-09  Adam Megacz  <adam@xwt.org>
 
         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
index 72a3bb87de8b9bedcb70738521791ef7f08a09f0..6efeaa5d4346e1faa49eb08062aab0de85db0383 100644 (file)
@@ -45,8 +45,8 @@ public class WindowAttributes
   {
     WindowAttributes attributes = (WindowAttributes) super.clone();
     // In case of an exception before the stucture is copied.
-    attributes.in  = 0;
-    attributes.out = 0;
+    attributes.in  = null;
+    attributes.out = null;
     
     // FIXME: do anything else?
        
@@ -77,13 +77,13 @@ public class WindowAttributes
    * Reference to XWindowAttribute structure containing attributes
    * read from a window.
    */
-  RawData in = 0;
+  RawData in = null;
 
   /**
    * Reference to XSetWindowAttribute structure containing attributes
    * to be applied to a window.
    */
-  RawData out = 0;
+  RawData out = null;
 
   long mask;
 
index 7abcc1713f12b3b46d5d4153b6e06f86564be6c9..74ad6d7071a1acb7c2202795c9053e07d6208910 100644 (file)
@@ -38,5 +38,5 @@ public final class XColor
   public final native byte getFlags();
   public final native long getPixelValue();
   
-  RawData structure = 0;
+  RawData structure = null;
 }
index 1b102f9ea762301c3670f09419c1a4de943e1cba..5460549e0a5aebc10c02680735a90bbd2476d891 100644 (file)
@@ -141,7 +141,7 @@ public class XImage
   protected native void finalize();
 
   boolean ownsData = false;
-  RawData structure = 0;
+  RawData structure = null;
 
   public final native int getWidth();
   public final native int getHeight();