Skip to content

Commit 102ee25

Browse files
committed
Avoid test execution on Java 7.
1 parent 3b5f4dc commit 102ee25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

byte-buddy-dep/src/test/java/net/bytebuddy/asm/MemberSubstitutionChainWithAnnotationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ public void testOriginMethodType() throws Exception {
610610
}
611611

612612
@Test
613-
@JavaVersionRule.Enforce(7)
613+
@JavaVersionRule.Enforce(8) // Cannot resolve field types from method handles prior to Java 8
614614
public void testOriginElementMethodHandle() throws Exception {
615615
Class<?> origin = Class.forName("net.bytebuddy.test.precompiled.v7.MemberSubstitutionOriginMethodHandle");
616616
Class<?> type = new ByteBuddy()

0 commit comments

Comments
 (0)