Fix #4983:@JsonTypeInfo location actual baseType via hierarchy#4988
Conversation
|
@blacelle Ok, yes, although I wish traversal did not need to be done in So a new PR against |
a9b6def to
dcbc97c
Compare
|
@cowtowncoder This is rebased on |
@JsonTypeInfo location actual baseType via hierarchy
|
BTW @cowtowncoder I have issues to run tests in some IDE (both Eclipse and Intellij) around JMPS/JDK9 modules. It's fine with 2.19 branch (probably not/less/different tests modules).
|
…sonTypeInfo.Id.MINIMAL_CLASS
6d07ab5 to
62032a2
Compare
|
@blacelle I also have problems running tests from Eclipse: need to use "Run Configurations" to select different JDK. I do see problem indicators for |
|
@blacelle Looks pretty good, only minor things to change. But aside from those, before I can merge this we'll need a CLA (unless you have sent one before). It needs to be sent just once before merging the first contribution and is good for all future prs. Document is here: https://github.com/FasterXML/jackson/blob/main/CLA-jackson-2026.pdf Looking forward to merging this; big thank you for contributing the pr! |
@JsonTypeInfo location actual baseType via hierarchy@JsonTypeInfo location actual baseType via hierarchy
|
@cowtowncoder CLA is sent. PR is progressed ; one element looks opinionated. Thanks a lot, the contribution experience is quite smooth. |
…ing a JavaType detectedBaseType
cowtowncoder
left a comment
There was a problem hiding this comment.
Almost there, just minor Javadoc additions needed.
|
Done. I also restored the |
| @@ -297,7 +312,7 @@ protected TypeResolverBuilder<?> _findTypeResolver(MapperConfig<?> config, | |||
| } | |||
|
|
|||
| protected TypeResolverBuilder<?> _constructStdTypeResolverBuilder(MapperConfig<?> config, | |||
There was a problem hiding this comment.
Whops. Change of this signature broke XML backend: will patch.
(granted, sub-classing and overriding protected method not clean extension but....

Fixes #4983.