mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8008192: Better ordering checks needed in repeatingAnnotations/combo/ReflectionTest
Reviewed-by: jjg, jfranck
This commit is contained in:
parent
7c6e4696ab
commit
c57660ca19
2 changed files with 317 additions and 227 deletions
|
@ -54,10 +54,10 @@ public class Helper {
|
||||||
IMPORTEXPECTED("import expectedFiles.*;\n"),
|
IMPORTEXPECTED("import expectedFiles.*;\n"),
|
||||||
REPEATABLE("\n@Repeatable(FooContainer.class)\n"),
|
REPEATABLE("\n@Repeatable(FooContainer.class)\n"),
|
||||||
CONTAINER("@interface FooContainer {\n" + " Foo[] value();\n}\n"),
|
CONTAINER("@interface FooContainer {\n" + " Foo[] value();\n}\n"),
|
||||||
BASE("@interface Foo {}\n"),
|
BASE("@interface Foo {int value() default Integer.MAX_VALUE;}\n"),
|
||||||
BASEANNO("@Foo"),
|
BASEANNO("@Foo(0)"),
|
||||||
LEGACYCONTAINER("@FooContainer(value = {@Foo, @Foo})\n"),
|
LEGACYCONTAINER("@FooContainer(value = {@Foo(1), @Foo(2)})\n"),
|
||||||
REPEATABLEANNO("\n@Foo() @Foo()"),
|
REPEATABLEANNO("\n@Foo(1) @Foo(2)"),
|
||||||
DEPRECATED("\n@Deprecated"),
|
DEPRECATED("\n@Deprecated"),
|
||||||
DOCUMENTED("\n@Documented"),
|
DOCUMENTED("\n@Documented"),
|
||||||
INHERITED("\n@Inherited"),
|
INHERITED("\n@Inherited"),
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue