This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
New test case.
- To: java-patches at gcc dot gnu dot org
- Subject: New test case.
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Date: Thu, 6 Sep 2001 17:20:26 -0700
- Reply-to: apbianco at cygnus dot com
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