Skip to content

Commit ee96f56

Browse files
committed
Fix compilation under JDK6.
1 parent f8a6cd1 commit ee96f56

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/MemberSubstitutionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ public void testLambdaSubstitutionWithStub() throws Exception {
10421042
.withType(ElementMatchers.is(JavaConstant.MethodType.of(
10431043
TypeDescription.ForLoadedType.of(Callable.class),
10441044
Collections.<TypeDescription>emptyList())))
1045-
.withArguments(ElementMatchers.<List<JavaConstant>>any())
1045+
.withArguments(ElementMatchers.<List<? extends JavaConstant>>any())
10461046
.stub()
10471047
.on(named("nonCapturing")))
10481048
.make()

0 commit comments

Comments
 (0)