-
Bug
-
Resolution: Fixed
-
P2
-
8
-
b34
-
generic, unknown
-
generic
-
Verified
Compiling the following program:
class Test {
String s = 1;
}
produces the following incorrect diagnostic:
error: incompatible types
String s = 1;
^
required: int
found: String
1 error
required vs. found types should be the other way around.
class Test {
String s = 1;
}
produces the following incorrect diagnostic:
error: incompatible types
String s = 1;
^
required: int
found: String
1 error
required vs. found types should be the other way around.
- duplicates
-
JDK-7157702 compiler message flip between found/required
-
- Closed
-