--- old/test/langtools/tools/javac/processing/model/element/repeatingAnnotations/RepeatableBasicTest.java 2019-06-03 13:23:08.699762322 -0700 +++ new/test/langtools/tools/javac/processing/model/element/repeatingAnnotations/RepeatableBasicTest.java 2019-06-03 13:23:08.383604334 -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 @@ -38,8 +38,8 @@ value = Bar.class, getAnnotation = "null", getAnnotationsByType = { - "@Bar(value=1)", - "@Bar(value=2)" + "@Bar(1)", + "@Bar(2)" }, getAllAnnotationMirrors = { "@BarContainer({@Bar(1), @Bar(2)})", @@ -53,18 +53,18 @@ }) @ExpectedContainer( value = BarContainer.class, - getAnnotation = "@BarContainer(value={@Bar(value=1), @Bar(value=2)})", - getAnnotationsByType = {"@BarContainer(value={@Bar(value=1), @Bar(value=2)})"}) -@Bar(value = 1) -@Bar(value = 2) + getAnnotation = "@BarContainer({@Bar(1), @Bar(2)})", + getAnnotationsByType = {"@BarContainer({@Bar(1), @Bar(2)})"}) +@Bar(1) +@Bar(2) class RepeatableBasicTest { @ExpectedBase( value = Bar.class, getAnnotation = "null", getAnnotationsByType = { - "@Bar(value=1)", - "@Bar(value=2)" + "@Bar(1)", + "@Bar(2)" }, getAllAnnotationMirrors = { "@BarContainer({@Bar(1), @Bar(2)})", @@ -78,18 +78,18 @@ }) @ExpectedContainer( value = BarContainer.class, - getAnnotation = "@BarContainer(value={@Bar(value=1), @Bar(value=2)})", - getAnnotationsByType = {"@BarContainer(value={@Bar(value=1), @Bar(value=2)})"}) - @Bar(value = 1) - @Bar(value = 2) + getAnnotation = "@BarContainer({@Bar(1), @Bar(2)})", + getAnnotationsByType = {"@BarContainer({@Bar(1), @Bar(2)})"}) + @Bar(1) + @Bar(2) int testField = 0; @ExpectedBase( value = Bar.class, getAnnotation = "null", getAnnotationsByType = { - "@Bar(value=1)", - "@Bar(value=2)" + "@Bar(1)", + "@Bar(2)" }, getAllAnnotationMirrors = { "@BarContainer({@Bar(1), @Bar(2)})", @@ -103,9 +103,9 @@ }) @ExpectedContainer( value = BarContainer.class, - getAnnotation = "@BarContainer(value={@Bar(value=1), @Bar(value=2)})", - getAnnotationsByType = {"@BarContainer(value={@Bar(value=1), @Bar(value=2)})"}) - @Bar(value = 1) - @Bar(value = 2) + getAnnotation = "@BarContainer({@Bar(1), @Bar(2)})", + getAnnotationsByType = {"@BarContainer({@Bar(1), @Bar(2)})"}) + @Bar(1) + @Bar(2) void testMethod() {} }