We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22fc3de commit f5d454eCopy full SHA for f5d454e
platform-tests/src/test/java/org/junit/platform/commons/util/AnnotationUtilsTests.java
@@ -532,7 +532,12 @@ private List<String> asNames(List<Field> fields) {
532
533
@Target({ ElementType.TYPE, ElementType.METHOD })
534
@Retention(RetentionPolicy.RUNTIME)
535
- @Inherited
+ // Intentionally NOT @Inherited in order to ensure that the algorithm for
536
+ // findRepeatableAnnotations() in fact lives up to the claims in the
537
+ // JavaDoc regarding searching for repeatable annotations with implicit
538
+ // "inheritance" if the repeatable annotation is @Inherited but the
539
+ // custom composed annotation is not @Inherited.
540
+ // @Inherited
541
@ExtendWith("bar")
542
@interface ExtendWithBar {
543
}
0 commit comments