Skip to content

Commit

Permalink
Merge pull request #124 from stevenschlansker/blackbird-123-method-pa…
Browse files Browse the repository at this point in the history
…ram-type

Blackbird: correct methodType for setters that take arguments that aren't Objects
  • Loading branch information
cowtowncoder committed Jan 5, 2021
2 parents 1e6321c + 44bf2e5 commit 13f31d4
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 13f31d4

Please sign in to comment.