# HG changeset patch # User wmdietl # Date 1379229786 25200 # Node ID 3a3427ab11fb96b9eec13867efd26b5dcb983c83 # Parent 5499e8a522eb6e54c94e813b5a2109396beceb03 Make test case easier to debug by using two different type annotations. diff -r 5499e8a522eb -r 3a3427ab11fb test/tools/javac/annotations/typeAnnotations/failures/TypeVariableCycleTest.java --- a/test/tools/javac/annotations/typeAnnotations/failures/TypeVariableCycleTest.java Mon Sep 09 17:42:24 2013 -0700 +++ b/test/tools/javac/annotations/typeAnnotations/failures/TypeVariableCycleTest.java Sun Sep 15 00:23:06 2013 -0700 @@ -35,10 +35,12 @@ class TypeVariableCycleTest { MTV cast(CTV p) { - return (@TA MTV) p; + return (@TB MTV) p; } } -@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) +@Target(ElementType.TYPE_USE) @interface TA {} +@Target(ElementType.TYPE_USE) +@interface TB {} \ No newline at end of file