Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Jun 17, 2020
1 parent bf3a321 commit 01573df
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ public void testBootstrapWithArrayArgumentsWithArguments() throws Exception {
.subclass(Simple.class)
.method(isDeclaredBy(Simple.class))
.intercept(InvokeDynamic.bootstrap(typeDescription.getDeclaredMethods().filter(named("bootstrapArrayArguments")).getOnly(),
INTEGER, LONG, FLOAT, DOUBLE, FOO, CLASS,
INTEGER, LONG, FLOAT, DOUBLE, FOO,
TypeDescription.ForLoadedType.of(CLASS),
JavaConstant.MethodType.ofLoaded(methodType(CLASS)),
JavaConstant.MethodHandle.ofLoaded(methodHandle()))
.withoutArguments())
Expand Down Expand Up @@ -157,7 +158,8 @@ public void testBootstrapWithExplicitArgumentsWithArguments() throws Exception {
.subclass(Simple.class)
.method(isDeclaredBy(Simple.class))
.intercept(InvokeDynamic.bootstrap(typeDescription.getDeclaredMethods().filter(named("bootstrapExplicitArguments")).getOnly(),
INTEGER, LONG, FLOAT, DOUBLE, FOO, CLASS,
INTEGER, LONG, FLOAT, DOUBLE, FOO,
TypeDescription.ForLoadedType.of(CLASS),
JavaConstant.MethodType.ofLoaded(methodType(CLASS)),
JavaConstant.MethodHandle.ofLoaded(methodHandle()))
.withoutArguments())
Expand Down

0 comments on commit 01573df

Please sign in to comment.