langtools/test/tools/javac/processing/model/element/repeatingAnnotations/MixRepeatableAndOfficialContainerInheritedA2Test.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8004822 |
26 * @bug 8004822 8163113 |
27 * @author mnunez |
27 * @author mnunez |
28 * @summary Language model api test basics for repeating annotations |
28 * @summary Language model api test basics for repeating annotations |
29 * @library /tools/javac/lib |
29 * @library /tools/javac/lib |
30 * @library supportingAnnotations |
30 * @library supportingAnnotations |
31 * @modules java.compiler |
31 * @modules java.compiler |
59 "ExpectedContainer" |
59 "ExpectedContainer" |
60 }) |
60 }) |
61 @ExpectedContainer( |
61 @ExpectedContainer( |
62 value = BarInheritedContainer.class, |
62 value = BarInheritedContainer.class, |
63 getAnnotation = "@BarInheritedContainer(" |
63 getAnnotation = "@BarInheritedContainer(" |
64 + "value=[@BarInherited(value=1), @BarInherited(value=2)])", |
64 + "value={@BarInherited(value=1), @BarInherited(value=2)})", |
65 getAnnotationsByType = {"@BarInheritedContainer(" |
65 getAnnotationsByType = {"@BarInheritedContainer(" |
66 + "value=[@BarInherited(value=1), @BarInherited(value=2)])"}) |
66 + "value={@BarInherited(value=1), @BarInherited(value=2)})"}) |
67 @BarInheritedContainer(value = {@BarInherited(value = 1), @BarInherited(value = 2)}) |
67 @BarInheritedContainer(value = {@BarInherited(value = 1), @BarInherited(value = 2)}) |
68 @BarInherited(value = 3) |
68 @BarInherited(value = 3) |
69 class MixRepeatableAndOfficialContainerInheritedA2Test extends N {} |
69 class MixRepeatableAndOfficialContainerInheritedA2Test extends N {} |