Skip to content

Commit

Permalink
Fix compilation under JDK6.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Jan 29, 2025
1 parent f8a6cd1 commit ee96f56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ public void testLambdaSubstitutionWithStub() throws Exception {
.withType(ElementMatchers.is(JavaConstant.MethodType.of(
TypeDescription.ForLoadedType.of(Callable.class),
Collections.<TypeDescription>emptyList())))
.withArguments(ElementMatchers.<List<JavaConstant>>any())
.withArguments(ElementMatchers.<List<? extends JavaConstant>>any())
.stub()
.on(named("nonCapturing")))
.make()
Expand Down

0 comments on commit ee96f56

Please sign in to comment.