Name: laC46010 Date: 05/13/98
javac (all JDKs) emits invalid error message when compiling
source file that contains illegal assignment involving the '>>>' operator.
See full example below:
-------------------------------------------
> /export/ld14/java/dest/jdk1.2b4E/solaris/bin/javac -d . tst.java
tst.java:5: Incompatible type for <<<. Can't convert java.lang.String to int.
a = a >>> s;
^
> cat tst.java
public class tst {
public static void main( String argv[] ) {
int a = 1;
String s = "1";
a = a >>> s;
}
}
-------------------------------------------
The '<<<' string in the message body should be changed to '>>>'.
======================================================================