During compile the following simple code
class test {
public static void main (String [] args) {
int i = (i = 10) + i++;
int n = (n = 0);
}
}
I've got the error message:
<cos@ultrasparrow: ~/temp(318)> /usr/java1.3/bin/javac -server test.java
test.java:3: illegal forward reference
int i = (i = 10) + i++;
^
1 error
With Java1.2 it has been compiled pretty fine.
class test {
public static void main (String [] args) {
int i = (i = 10) + i++;
int n = (n = 0);
}
}
I've got the error message:
<cos@ultrasparrow: ~/temp(318)> /usr/java1.3/bin/javac -server test.java
test.java:3: illegal forward reference
int i = (i = 10) + i++;
^
1 error
With Java1.2 it has been compiled pretty fine.