-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P5
-
Affects Version/s: 8, 9
-
Component/s: tools
Currently the only diagnostic which indicates that a type annotation cannot be applied to a given piece of syntax reads "cannot annotate scoping construct". This is unclear and in some cases, outright misleading (particularly for annotations on .class expressions). There ought to be better diagnostics.
- relates to
-
JDK-8334055 Unhelpful 'required: reference' diagnostics after JDK-8043226
-
- Resolved
-
-
JDK-8334757 AssertionError: Missing type variable in where clause
-
- Resolved
-