equal
deleted
inserted
replaced
|
1 /* |
|
2 * @test /nodynamiccopyright/ |
|
3 * @bug 8074346 |
|
4 * @author sadayapalam |
|
5 * @summary Test that type annotation on a qualified type doesn't cause spurious 'cannot find symbol' errors |
|
6 * @compile/fail/ref=T8074346.out -XDrawDiagnostics T8074346.java |
|
7 */ |
|
8 |
|
9 abstract class T8074346 implements |
|
10 @T8074346_TA @T8074346_TB java.util.Map<@T8074346_TA java.lang.String, java.lang.@T8074346_TA String>, |
|
11 java.util.@T8074346_TA List { |
|
12 } |
|
13 |
|
14 @java.lang.annotation.Target(java.lang.annotation.ElementType.TYPE_USE) |
|
15 @interface T8074346_TA { } |
|
16 |
|
17 @java.lang.annotation.Target(java.lang.annotation.ElementType.TYPE_USE) |
|
18 @interface T8074346_TB { } |