Open GoogleCodeExporter opened 9 years ago
Here are the two code snippets, as files that can be compiled using the command
lines in the above bug report.
Original comment by michael.ernst@gmail.com
on 1 Jul 2011 at 4:02
Attachments:
The output is changed, but still isn't as specific as javac. The current
output is:
% javac -processor checkers.nullness.NullnessChecker -g
TestGenericsQualifier.java
TestGenericsQualifier.java:4: error: incompatible types in type argument.
class G extends F<@Nullable Integer> { }
^
found : @NonRaw @Nullable Integer
required: @NonNull @NonRaw Object
1 error
It would still be good to make the error message more like javac's, both for
uniformity and because javac's is more informative; both will lead to less
confusion among users.
Original comment by michael.ernst@gmail.com
on 28 Mar 2013 at 6:19
Original issue reported on code.google.com by
michael.ernst@gmail.com
on 1 Jul 2011 at 4:01