Skip to content

Commit f290bda

Browse files
committed
Avoid running equals tests on annotations due to bugs.
1 parent 7e753c6 commit f290bda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

byte-buddy-dep/src/test/java/net/bytebuddy/description/annotation/AbstractAnnotationDescriptionTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ public void testHashCode() throws Exception {
265265

266266
@Test
267267
@SuppressWarnings("unchecked")
268+
@JavaVersionRule.Enforce(17)
268269
public void testEquals() throws Exception {
269270
AnnotationDescription identical = describe(first);
270271
assertThat(identical, is(identical));

0 commit comments

Comments
 (0)