Skip to content

Commit 666d1ce

Browse files
committed
Fix broken test in AnnotationUtilsTests
1 parent 19a75f2 commit 666d1ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-core/src/test/java/org/springframework/core/annotation/AnnotationUtilsTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ public void findMethodAnnotationOnBridgeMethod() throws Exception {
8585
assertNull(m.getAnnotation(Order.class));
8686
assertNull(getAnnotation(m, Order.class));
8787
assertNotNull(findAnnotation(m, Order.class));
88-
assertNull(m.getAnnotation(Transactional.class));
88+
// TODO: actually found on OpenJDK 8 b99 and higher!
89+
// assertNull(m.getAnnotation(Transactional.class));
8990
assertNotNull(getAnnotation(m, Transactional.class));
9091
assertNotNull(findAnnotation(m, Transactional.class));
9192
}

0 commit comments

Comments
 (0)