Skip to content

Commit

Permalink
Blackbird: correct methodType for setters that take arguments that ar…
Browse files Browse the repository at this point in the history
…en't Object

Fixes #123
  • Loading branch information
stevenschlansker authored and cowtowncoder committed Jan 5, 2021
1 parent 3146384 commit 27aa4d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -222,7 +222,7 @@ private <T> T createSetter(Lookup lookup, Class<T> iface, Class<?> thunkType, Me
MethodHandles.lookup(),
"accept",
MethodType.methodType(iface, thunkType),
MethodType.methodType(void.class, Object.class, Object.class),
MethodType.methodType(void.class, Object.class, valueType),
trampoline,
MethodType.methodType(void.class, Object.class, valueType))
.getTarget().invoke(builtThunk));
Expand Down
@@ -1,4 +1,4 @@
package com.fasterxml.jackson.module.blackbird.failing;
package com.fasterxml.jackson.module.blackbird.deser;

import com.fasterxml.jackson.databind.ObjectMapper;

Expand Down

0 comments on commit 27aa4d3

Please sign in to comment.