This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: ListResourceBundle fixlet
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Subject: Patch: FYI: ListResourceBundle fixlet
- From: Tom Tromey <tromey at redhat dot com>
- Date: 23 Oct 2001 18:09:33 -0600
- Reply-To: tromey at redhat dot com
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++)