Patch: new test cases (PR gcj/129)

Anthony Green green@cygnus.com
Sun Mar 5 01:06:00 GMT 2000


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


More information about the Java-patches mailing list