The review thread for JDK-8208470 revealed some code cleanup opportunities in TypeAnnotations.
* The helper method findTypeCompoundPosition is unused (http://mail.openjdk.java.net/pipermail/compiler-dev/2018-July/012254.html)
* There is redundant and inconsistent handling of type annotation positions in typeWithAnnotations (http://mail.openjdk.java.net/pipermail/compiler-dev/2018-December/012743.html)
* The helper method findTypeCompoundPosition is unused (http://mail.openjdk.java.net/pipermail/compiler-dev/2018-July/012254.html)
* There is redundant and inconsistent handling of type annotation positions in typeWithAnnotations (http://mail.openjdk.java.net/pipermail/compiler-dev/2018-December/012743.html)
- relates to
-
JDK-8208470 Type annotations on inner type that is an array component
-
- Resolved
-