< prev index next >
test/langtools/tools/javac/annotations/repeatingAnnotations/BasicRepeatingAnnotations.java
Print this page
8200128: Fix some "annoations" typos
Reviewed-by: alanb
*** 70,78 ****
if (a != null) {
throw new RuntimeException("Container annotation present");
}
a = BasicNonRepeatingAnno.class.getAnnotation(Foo.class);
if (a == null) {
! throw new RuntimeException("Repeated annoation not directly present");
}
}
}
--- 70,78 ----
if (a != null) {
throw new RuntimeException("Container annotation present");
}
a = BasicNonRepeatingAnno.class.getAnnotation(Foo.class);
if (a == null) {
! throw new RuntimeException("Repeated annotation not directly present");
}
}
}
< prev index next >