提交 8535ec12 编写于 作者: D darcy

8006062: Add @Repeatable to repeating annotations regression tests in JDK repo

Reviewed-by: jjg
上级 d49cc740
......@@ -27,6 +27,7 @@ import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@ContainedBy(Container.class)
@Repeatable(Container.class)
public @interface Containee {
int value();
}
......@@ -28,6 +28,7 @@ import java.lang.annotation.*;
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@ContainedBy(InheritedContainer.class)
@Repeatable(InheritedContainer.class)
public @interface InheritedContainee {
int value();
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册