-
Sub-task
-
Resolution: Fixed
-
P4
-
8, 9
-
b03
-
Not verified
Presently, TypeAnnotationPosition is a class containing mutable public fields, and a zero-argument constructor. This is dangerous, and it is not clear what combinations of field values represent sensible instances.
A better way would be to make the class immutable with private constructors, static methods for creating "Base" TypeAnnotationPositions
A better way would be to make the class immutable with private constructors, static methods for creating "Base" TypeAnnotationPositions
- blocks
-
JDK-8027262 Determine location for type annotations earlier in compiler pipeline
-
- Closed
-
- relates to
-
JDK-8035763 Error parsing binary type annotations data in javac.
-
- Closed
-