diff -r 9f42a06a49c0 -r df694c775e8a test/tools/javac/annotations/repeatingAnnotations/SelfRepeatingAnnotations.java --- a/test/tools/javac/annotations/repeatingAnnotations/SelfRepeatingAnnotations.java Mon Jan 14 19:52:36 2013 +0100 +++ b/test/tools/javac/annotations/repeatingAnnotations/SelfRepeatingAnnotations.java Mon Jan 14 13:50:01 2013 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, 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 @@ -33,7 +33,6 @@ import java.lang.annotation.*; -@ContainerFor(SelfRepeatingAnno.class) @Retention(RetentionPolicy.RUNTIME) @interface Foos { SelfRepeatingAnno[] value(); @@ -42,7 +41,7 @@ @SelfRepeatingAnno @Retention(RetentionPolicy.RUNTIME) @SelfRepeatingAnno -@ContainedBy(Foos.class) +@Repeatable(Foos.class) @interface SelfRepeatingAnno {} public class SelfRepeatingAnnotations {