This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Patch: new test cases (PR gcj/129)
- To: java-patches at sourceware dot cygnus dot com
- Subject: Patch: new test cases (PR gcj/129)
- From: Anthony Green <green at cygnus dot com>
- Date: Sun, 5 Mar 2000 01:06:50 -0800
- Reply-to: green at redhat dot com
I'm committing the following new test code:
2000-03-05 Anthony Green <green@redhat.com>
* libjava.compile/PR129_B.java: New file.
* libjava.compile/support/PR129_A.java: New file.
For PR gcj/129.
Index: libjava/testsuite/libjava.compile/PR129_B.java
===================================================================
RCS file: PR129_B.java
diff -N PR129_B.java
0a1,9
> import support.PR129_A;
>
> public class PR129_B {
> public static void main ( String[] args ) {
> int length = PR129_A.strArr.length;
> System.out.println ( "Array length: " + length );
> }
> }
>
Index: libjava/testsuite/libjava.compile/support/PR129_A.java
===================================================================
RCS file: PR129_A.java
diff -N PR129_A.java
0a1,6
> package support;
>
> public class PR129_A {
> public static String[] strArr = { "A", "B", "C" };
> }
>
--
Anthony Green Red Hat
Sunnyvale, California