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

jan.lahoda at oracle.com jan.lahoda at oracle.com
Fri Jun 20 13:56:32 UTC 2014


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

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 jdk8u-dev-changes mailing list