classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] [patch] initial menu item label


From: Thomas Fitzsimmons
Subject: [cp-patches] [patch] initial menu item label
Date: Thu, 09 Jun 2005 18:29:08 -0400

Hi,

I committed this patch, and a corresponding Mauve test case.

Tom

2005-06-09  Thomas Fitzsimmons  <address@hidden>

        * java/awt/MenuItem.java (label): Initialize to empty string.

Index: java/awt/MenuItem.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/awt/MenuItem.java,v
retrieving revision 1.22
diff -u -r1.22 MenuItem.java
--- java/awt/MenuItem.java      26 Apr 2005 18:56:18 -0000      1.22
+++ java/awt/MenuItem.java      9 Jun 2005 22:26:39 -0000
@@ -94,7 +94,7 @@
   * @serial This menu item's label
   * This is package-private to avoid an accessor method.
   */
-String label;
+String label = "";
 
 /**
   * @serial The shortcut for this menu item, if any





reply via email to

[Prev in Thread] Current Thread [Next in Thread]