1.1 --- a/test/tools/javac/annotations/typeAnnotations/failures/TypeVariableCycleTest.java Tue Oct 15 22:15:35 2013 +0200 1.2 +++ b/test/tools/javac/annotations/typeAnnotations/failures/TypeVariableCycleTest.java Tue Oct 15 15:57:13 2013 -0700 1.3 @@ -35,10 +35,12 @@ 1.4 1.5 class TypeVariableCycleTest<CTV> { 1.6 <MTV extends @TA CTV> MTV cast(CTV p) { 1.7 - return (@TA MTV) p; 1.8 + return (@TB MTV) p; 1.9 } 1.10 } 1.11 1.12 -@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) 1.13 +@Target(ElementType.TYPE_USE) 1.14 @interface TA {} 1.15 1.16 +@Target(ElementType.TYPE_USE) 1.17 +@interface TB {}