You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to find the issue within the collectAll() method in the POJOPropertiesCollector.class.
In the following state, when the _addMethods() method is called, the number of properties increases to six.
In my opinion, the issue seems to arise from the discrepancy between the names of the getter methods and the fields during the process of decompiling the Kotlin code into Java code.
I hope this bug report is helpful.
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Search before asking
Describe the bug
Field proliferation bug when using ObjectMapper in Kotlin
Version Information
2.15.3
Reproduction
<-- Any of the following
-->
// Your code here
Here is the class information as follows.
If you convert using objectMapper to JSON in this state, it will look like this.
I have found where the issue lies.
I was able to find the issue within the collectAll() method in the POJOPropertiesCollector.class.
In the following state, when the _addMethods() method is called, the number of properties increases to six.

In my opinion, the issue seems to arise from the discrepancy between the names of the getter methods and the fields during the process of decompiling the Kotlin code into Java code.
I hope this bug report is helpful.
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: