gcj/140

Bryce McKinlay bryce@albatross.co.nz
Sun Mar 5 16:50:00 GMT 2000


The following reply was made to PR gcj/140; it has been noted by GNATS.

From: Bryce McKinlay <bryce@albatross.co.nz>
To: java-gnats@sourceware.cygnus.com, jsturm@sigma6.com, apbianco@cygnus.com
Cc:  
Subject: Re: gcj/140
Date: Mon, 06 Mar 2000 13:50:35 +1300

 I checked the current status of this. gcj (20000305) now correctly
 reports the error when compiling to native:
 
 $ gcj ArrayTest.java -o arraytest --main=ArrayTest
 ArrayTest.java: In class `ArrayTest':
 ArrayTest.java: In method `main(java.lang.String[])':
 ArrayTest.java:10: Can't assign a value to the final variable
 `a.length'.
                a.length = 3000;
 
 But "gcj -C", compiling to bytecode, does not.
 
 http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=140&database=java
 
 
 


More information about the Java-prs mailing list