-
Notifications
You must be signed in to change notification settings - Fork 175
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
Kotlin master
(3.0) test failures -- due to MapperFeature.ALLOW_FINAL_FIELDS_AS_MUTATORS
default change; SORT_PROPERTIES_ALPHABETICALLY
#807
Comments
cc @k163377 @JooHyukKim I hope above is enough to solve issues. |
~~- Quick and easy solution : just flip |
I don't think #805 matters here: the problem is that some tests were only working if Jackson is allowed to force (Via reflection) setting of So I think tests in question are likely wrong: jackson-databind had one or two as well, but in those cases it was unintentional. By more work I meant investigating tests themselves to see why they need this setting, and if the tests might be buggy, in a way. Not so much that more work is needed on non-test code. I don't think users really should enable this |
Ah okay, I understand now what it meant 👍🏼 |
Yea it's, an odd setting. Had to be added because code was already setting final fields without intending (I had not filtered out |
master
(3.0) test failures -- probably due to MapperFeature.ALLOW_FINAL_FIELDS_AS_MUTATORS
default changemaster
(3.0) test failures -- due to MapperFeature.ALLOW_FINAL_FIELDS_AS_MUTATORS
default change; SORT_PROPERTIES_ALPHABETICALLY
Noting that |
I think we could probably go ahead and fix the tests via changing configuration defaults? @cowtowncoder WDYT? |
@JooHyukKim yes, I think that'd be the simplest immediate solution. |
filed #808. |
Note: we are almost good, but there's now #813 for Kotlin 2.0 issues of some kind wrt |
So, Kotlin module unit tests on
master
fail -- now that we have dependent builds, builds are triggered on jackson-databind changes.Looking at fail message, I think it has same root cause as Scala fails:
FasterXML/jackson-module-scala#678
and similar solutions (either change tests not to rely on forcing setting of
final
fields; or change MapperFeature setting used by mapper).The text was updated successfully, but these errors were encountered: