1.1 --- a/test/tools/javac/annotations/repeatingAnnotations/SelfRepeatingAnnotations.java Mon Jan 14 19:52:36 2013 +0100 1.2 +++ b/test/tools/javac/annotations/repeatingAnnotations/SelfRepeatingAnnotations.java Mon Jan 14 13:50:01 2013 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -33,7 +33,6 @@ 1.11 1.12 import java.lang.annotation.*; 1.13 1.14 -@ContainerFor(SelfRepeatingAnno.class) 1.15 @Retention(RetentionPolicy.RUNTIME) 1.16 @interface Foos { 1.17 SelfRepeatingAnno[] value(); 1.18 @@ -42,7 +41,7 @@ 1.19 @SelfRepeatingAnno 1.20 @Retention(RetentionPolicy.RUNTIME) 1.21 @SelfRepeatingAnno 1.22 -@ContainedBy(Foos.class) 1.23 +@Repeatable(Foos.class) 1.24 @interface SelfRepeatingAnno {} 1.25 1.26 public class SelfRepeatingAnnotations {