/
githubmirror
/
panama-vector
Обзор
Документация
Войти
/
githubmirror
/
panama-vector
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/langtools/tools/javac/annotations/repeatingAnnotations/WrongVersion.java
21 строка
375 B
Joe Darcy
8173605: Remove support for source and target 1.7 option in javac
01 сен 2022, 19:43
01 сен 2022, 19:43
2d18dda
Код
Авторство
О чём код?
/* * @test /nodynamiccopyright/ * @bug 8138822 * @summary test that only Java 8+ allows repeating annotations * @compile WrongVersion.java * @compile --release 8 WrongVersion.java */ import java.lang.annotation.Repeatable; @Ann(1) @Ann(2) class C { } @Repeatable(AnnContainer.class) @interface Ann { int value(); } @interface AnnContainer { Ann[] value(); }