Closed pstreef closed 4 months ago
Kotlin-specific as per stack trace, will move to proper repo.
This seems to be a problem with kotlin-reflect
.
https://youtrack.jetbrains.com/issue/KT-58649
Unfortunately, it is not a fixable issue in kotlin-module
, so this issue is closed.
I jumped to conclusions a little too quickly.
I have made the fixes for 2.17.1, as it was possible to skip processing of classes defined in Java
with a simple fix.
hello @k163377 , thanks for this fix! Sorry if I'm rude, but can I ask when is this fix will be released?
@ohadgur I can only say that it is the next release. 2.17.1 or 2.18.0.
Search before asking
Describe the bug
When combining certain libraries into a spring boot application and using the Spring provided ObjectMapper it fails to deserialize json to a class that has primitive integer fields.
Version Information
2.17.0
Reproduction
https://github.com/pstreef/jackson-primitive-int-issue
Expected behavior
The test
readerForListOnRecordWithIntField
inJacksonTest.java
does not fail.Additional context
It seems that there is a conflict caused by some kotlin module.
Full stacktrace: