Commit 18ca9ce7 by Anthony Green Committed by Anthony Green

re GNATS gcj/129 (Static array length access bug in gcj)

	* libjava.compile/PR129_B.java: New file.
	* libjava.compile/support/PR129_A.java: New file.
	For PR gcj/129.

From-SVN: r32340
parent c261e080
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.
2000-03-04 Anthony Green <green@redhat.com> 2000-03-04 Anthony Green <green@redhat.com>
* libjava.lang/PR160.java: New file. * libjava.lang/PR160.java: New file.
......
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 );
}
}
package support;
public class PR129_A {
public static String[] strArr = { "A", "B", "C" };
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment