langtools/test/tools/javac/processing/model/element/repeatingAnnotations/RepeatableOfficialContainerInheritedTest.java
--- a/langtools/test/tools/javac/processing/model/element/repeatingAnnotations/RepeatableOfficialContainerInheritedTest.java Wed Aug 03 10:05:37 2016 -0700
+++ b/langtools/test/tools/javac/processing/model/element/repeatingAnnotations/RepeatableOfficialContainerInheritedTest.java Wed Aug 03 11:30:27 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2016, 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
@@ -23,7 +23,7 @@
/*
* @test
- * @bug 8004822
+ * @bug 8004822 8163113
* @author mnunez
* @summary Language model api test basics for repeating annotations
* @library /tools/javac/lib
@@ -43,8 +43,8 @@
value = BarInheritedContainer.class,
getAnnotation = "null",
getAnnotationsByType = {
- "@BarInheritedContainer(value=[@BarInherited(value=1)])",
- "@BarInheritedContainer(value=[@BarInherited(value=2)])"
+ "@BarInheritedContainer(value={@BarInherited(value=1)})",
+ "@BarInheritedContainer(value={@BarInherited(value=2)})"
},
getAllAnnotationMirrors = {
"@BarInheritedContainerContainer("
@@ -60,9 +60,9 @@
@ExpectedContainer(
value = BarInheritedContainerContainer.class,
getAnnotation = "@BarInheritedContainerContainer("
- + "value=[@BarInheritedContainer(value=[@BarInherited(value=1)]),"
- + " @BarInheritedContainer(value=[@BarInherited(value=2)])])",
+ + "value={@BarInheritedContainer(value={@BarInherited(value=1)}),"
+ + " @BarInheritedContainer(value={@BarInherited(value=2)})})",
getAnnotationsByType = {"@BarInheritedContainerContainer("
- + "value=[@BarInheritedContainer(value=[@BarInherited(value=1)]),"
- + " @BarInheritedContainer(value=[@BarInherited(value=2)])])"})
+ + "value={@BarInheritedContainer(value={@BarInherited(value=1)}),"
+ + " @BarInheritedContainer(value={@BarInherited(value=2)})})"})
class RepeatableOfficialContainerInheritedTest extends O {}