This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: Fix for PR 4213
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Subject: Patch: FYI: Fix for PR 4213
- From: Tom Tromey <tromey at redhat dot com>
- Date: 04 Sep 2001 11:29:06 -0600
- Reply-To: tromey at redhat dot com
I'm checking this in on the trunk.
Built and tested on x86 RH Linux 6.2.
This fixes PR 4213. We didn't have a base `LocaleData' class. The
new ResourceBundle code correctly notes that this is required.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
Fix for PR libgcj/4213:
* Makefile.am (ordinary_java_source_files): Added new file.
* gnu/gcj/text/LocaleData.java: New file.
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.165
diff -u -r1.165 Makefile.am
--- Makefile.am 2001/09/02 06:18:47 1.165
+++ Makefile.am 2001/09/04 17:16:58
@@ -1126,6 +1126,7 @@
gnu/gcj/text/BaseBreakIterator.java \
gnu/gcj/text/CharacterBreakIterator.java \
gnu/gcj/text/LineBreakIterator.java \
+gnu/gcj/text/LocaleData.java \
gnu/gcj/text/LocaleData_en.java \
gnu/gcj/text/LocaleData_en_US.java \
gnu/gcj/text/SentenceBreakIterator.java \
Index: gnu/gcj/text/LocaleData.java
===================================================================
RCS file: LocaleData.java
diff -N LocaleData.java
--- /dev/null Tue May 5 13:32:27 1998
+++ gnu/gcj/text/LocaleData.java Tue Sep 4 10:16:58 2001
@@ -0,0 +1,25 @@
+// Generic locale data for java.text.
+
+/* Copyright (C) 2001 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+package gnu.gcj.text;
+
+import java.util.ListResourceBundle;
+
+public class LocaleData extends ListResourceBundle
+{
+ private static final Object[][] contents =
+ {
+ };
+
+ protected Object[][] getContents ()
+ {
+ return contents;
+ }
+}