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]

New test case.



I'm going to check this new test case in. The patch that let it build
is here and will be checked in too RNS:

  http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=4230&database=gcc

./A

Index: libjava.lang/PR4230.java
===================================================================
RCS file: PR4230.java
diff -N PR4230.java
--- /dev/null	Tue May  5 13:32:27 1998
+++ PR4230.java	Thu Sep  6 17:17:58 2001
@@ -0,0 +1,16 @@
+public class PR4230 {
+    static final String viramaString =
+    "f"
+    +"o"
+    +"o"
+    +"b"
+    +"a"
+    +"r";
+    private static final String[] foo = {"A", "B"};
+
+    public static void main(String[] args) {
+        System.out.println("viramaString= " + viramaString);
+        for (int i = 0; i < foo.length; i++)
+          System.out.println (foo[i]);
+    }
+};
Index: libjava.lang/PR4230.out
===================================================================
RCS file: PR4230.out
diff -N PR4230.out
--- /dev/null	Tue May  5 13:32:27 1998
+++ PR4230.out	Thu Sep  6 17:17:58 2001
@@ -0,0 +1,3 @@
+viramaString= foobar
+A
+B


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