test/langtools/tools/javac/processing/model/element/repeatingAnnotations/RepeatableOverrideBTest.java
--- a/test/langtools/tools/javac/processing/model/element/repeatingAnnotations/RepeatableOverrideBTest.java Thu Jun 13 11:21:50 2019 -0700
+++ b/test/langtools/tools/javac/processing/model/element/repeatingAnnotations/RepeatableOverrideBTest.java Thu Jun 13 11:50:45 2019 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -34,15 +34,15 @@
* @compile -processor ElementRepAnnoTester -proc:only RepeatableOverrideBTest.java
*/
-@BarInherited(value = 0)
+@BarInherited(0)
class C {}
@ExpectedBase(
value = BarInherited.class,
- getAnnotation = "@BarInherited(value=0)",
+ getAnnotation = "@BarInherited(0)",
getAnnotationsByType = {
- "@BarInherited(value=1)",
- "@BarInherited(value=2)"
+ "@BarInherited(1)",
+ "@BarInherited(2)"
},
getAllAnnotationMirrors = {
"@BarInherited(0)",
@@ -58,9 +58,9 @@
@ExpectedContainer(
value = BarInheritedContainer.class,
getAnnotation = "@BarInheritedContainer("
- + "value={@BarInherited(value=1), @BarInherited(value=2)})",
+ + "{@BarInherited(1), @BarInherited(2)})",
getAnnotationsByType = {"@BarInheritedContainer("
- + "value={@BarInherited(value=1), @BarInherited(value=2)})"})
-@BarInherited(value = 1)
-@BarInherited(value = 2)
+ + "{@BarInherited(1), @BarInherited(2)})"})
+@BarInherited(1)
+@BarInherited(2)
class RepeatableOverrideBTest extends C {}