aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/image
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@gcc.gnu.org>2000-10-02 06:14:25 +0100
committerBryce McKinlay <bryce@gcc.gnu.org>2000-10-02 06:14:25 +0100
commit0acff4bc96a94ae54d1ab69991102dfcc76607e6 (patch)
treed7afc0397eac24e3885cd07f96318fd0bf3a014c /libjava/java/awt/image
parentf15b9af9843e58e7c03df81098a8a15646f5058e (diff)
downloadgcc-0acff4bc96a94ae54d1ab69991102dfcc76607e6.zip
gcc-0acff4bc96a94ae54d1ab69991102dfcc76607e6.tar.gz
gcc-0acff4bc96a94ae54d1ab69991102dfcc76607e6.tar.bz2
prims.cc (_Jv_argv, _Jv_argc): New fields.
2000-10-02 Bryce McKinlay <bryce@albatross.co.nz> * prims.cc (_Jv_argv, _Jv_argc): New fields. (JvRunMain): Set _Jv_argv and _Jv_argc. * java/awt/Component.java: Minor fixes. * java/awt/Image.java (UndefinedProperty): Initialize final field. * java/awt/Toolkit.java (systemEventQueue): Removed. (getDefaultToolkit): Default to "gnu.awt.gtk.GtkToolkit". * java/awt/Window.java (getToolkit): Don't call super. * java/awt/image/BufferedImage.java: Fix definate assignment errors. * java/awt/peer/ContainerPeer.java (insets): Remove unused method. * gnu/awt/gtk/GtkComponentPeer.java: New file. * gnu/awt/gtk/GtkContainerPeer.java: New file. * gnu/awt/gtk/GtkFramePeer.java: New file. * gnu/awt/gtk/GtkMainThread.java: New file. * gnu/awt/gtk/GtkToolkit.java: New file. * gnu/awt/gtk/GtkWindowPeer.java: New file. * gnu/awt/gtk/gtkcommon.cc: New file. * gnu/awt/gtk/gtkcommon.h: New file. * gnu/awt/gtk/natGtkComponentPeer.cc: New file. * gnu/awt/gtk/natGtkContainerPeer.cc: New file. * gnu/awt/gtk/natGtkFramePeer.cc: New file. * gnu/awt/gtk/natGtkMainThread.cc: New file. * gnu/awt/gtk/natGtkToolkit.cc: New file. * gnu/awt/gtk/natGtkWindowPeer.cc: New file. From-SVN: r36688
Diffstat (limited to 'libjava/java/awt/image')
-rw-r--r--libjava/java/awt/image/BufferedImage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/java/awt/image/BufferedImage.java b/libjava/java/awt/image/BufferedImage.java
index 9eba6fc..d2f332d 100644
--- a/libjava/java/awt/image/BufferedImage.java
+++ b/libjava/java/awt/image/BufferedImage.java
@@ -62,7 +62,7 @@ public class BufferedImage extends java.awt.Image
public BufferedImage(int w, int h, int type)
{
- ColorModel cm;
+ ColorModel cm = null;
boolean alpha = false;
boolean premultiplied = false;
@@ -85,7 +85,7 @@ public class BufferedImage extends java.awt.Image
case TYPE_INT_ARGB_PRE:
case TYPE_USHORT_565_RGB:
case TYPE_USHORT_555_RGB:
- int[] masks;
+ int[] masks = null;
switch (type)
{
case TYPE_INT_RGB: