If there are only repeated annotations, whether 1 or more, on a new, array or cast, they are not written to the class file. If one is not repeated and other are, they are okay.
- relates to
-
JDK-8013852 update reference impl for type-annotations
- Closed
-
JDK-8008182 Repeated type-annotation on type arg in method reference not written to class file
- Resolved
-
JDK-8008082 Type annotations on cast not reflected correctly by javap
- Closed