JDK9 RFR: JDK-8029017: ElementType.TYPE_USE should be a logical superset of ElementType.TYPE and ANNOTATION_TYPE

Joel Borggrén-Franck joel.franck at oracle.com
Thu Jan 16 07:02:05 PST 2014


Hi,

Please review this fix intended for 9 and 8u.

https://bugs.openjdk.java.net/browse/JDK-8029017
http://cr.openjdk.java.net/~jfranck/8029017/

We got the rules wrong for TYPE_USE with respect to repeating annotation and their containers. TYPE_USE should be a superset of TYPE, ANNOTATION_TYPE, and TYPE_PARAMETER.

cheers
/Joel


More information about the compiler-dev mailing list