com.fasterxml.jackson.databind.introspect.Annotated.getAnnotation()
method does not return annotation for a Record field
#3974
Labels
Record
Issue related to JDK17 java.lang.Record support
Sorry if it's duplicate but i did not find anything like that
Describe the bug
When using custom annotation, Annotated.getAnnotation() method does not return annotation for a field marked with this annotation.
Version information
2.15.0
To Reproduce
This simple test can help:
Expected behavior
When i use jackson-core:2.14.1 the test below passes successfully
When i use jackson-core:2.15.0 the test fails
Additional context
This happened when i updated Spring Boot from 3.0.2 to 3.1.0
This is my graddle build
The text was updated successfully, but these errors were encountered: