hg: jdk9/dev/langtools: 8046916: Type parameter annotations don't work with multiple type parameters

jan.lahoda at oracle.com jan.lahoda at oracle.com
Wed Jun 18 09:34:55 UTC 2014


Changeset: d8d49a41294a
Author:    jlahoda
Date:      2014-06-18 10:44 +0200
URL:       http://hg.openjdk.java.net/jdk9/dev/langtools/rev/d8d49a41294a

8046916: Type parameter annotations don't work with multiple type parameters
Summary: When reading type variable's annotations out of the owner's type annotations, use the type variable's index in owner to exclude annotations belonging to other type variables.
Reviewed-by: jfranck, emc

! src/share/classes/com/sun/tools/javac/code/Symbol.java
! test/tools/javac/processing/model/element/TestTypeParameterAnnotations.java



More information about the jdk9-dev-changes mailing list