-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BlackBird not support fluent setter #123
Comments
@wujimin Thank you for reporting this: I can reproduce the problem. @stevenschlansker Looks like code might assume that all setters are of type |
That could be it, or maybe a spot where the VM would autobox for us but invokeExact doesn't. Either way I can take a look in the next few days (on vacation this week technically, happy new year all! ) |
@stevenschlansker yeah that sounds plausible. Return type is part of the signature, anyway. Could either filter out such cases (not optimize) or ideally handle, either would work. |
Happy new year We also had this problem most six months ago, and we just force set the return type to void to avoid the problem |
Makes sense. Should be an easy enough fix. |
@stevenschlansker and find a new issue of https://github.com/FasterXML/jackson-modules-base/blob/2.12/blackbird/README.md <dependency>
<groupId>com.fasterxml.jackson.modules</groupId>
<artifactId>jackson-module-blackbird</artifactId>
</dependency> groupId should be |
Environment
Reproduce case
define a model with fluent setter
will throw exception:
we are trying switch from AfterBurner to BlackBird, because AfterBurner not support
ToStringSerializer
via@JsonSerialize
inboolean
oropertyThe text was updated successfully, but these errors were encountered: