This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: FYI: ListResourceBundle fixlet


I'm checking this in.
This fixes a spec divergence bug.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>
	* java/util/ListResourceBundle.java (handleGetObject): Now public
	and final, per spec.

Index: java/util/ListResourceBundle.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/ListResourceBundle.java,v
retrieving revision 1.4
diff -u -r1.4 ListResourceBundle.java
--- java/util/ListResourceBundle.java 2001/08/31 21:31:20 1.4
+++ java/util/ListResourceBundle.java 2001/10/23 23:49:53
@@ -1,5 +1,5 @@
 /* java.util.ListResourceBundle
-   Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -65,7 +65,7 @@
    * @param key The key of the resource.
    * @return The resource for the key or null if it doesn't exists.
    */
-  protected Object handleGetObject(String key)
+  public final Object handleGetObject(String key)
   {
     Object[][] contents = getContents();
     for (int i = 0; i < contents.length; i++)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]