Skip to content

Commit

Permalink
Avoid test execution on Java 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Feb 18, 2023
1 parent 3b5f4dc commit 102ee25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ public void testOriginMethodType() throws Exception {
}

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

0 comments on commit 102ee25

Please sign in to comment.