Expected Behavior
KotlinObjectMapperFactory works
Actual Behavior
KotlinObjectMapperFactory crashes with MethodNotFoundError
Steps to Reproduce the Problem
- Use temporal kotlin
- Upgrade jackson kotlin library
- Crash
Specifications
Instead of using a deprecated method, it would have been best to try using the builder first, then fall back to the deprecated KotlinModule constructor. Alternatively, we should just use the builder as we can't even pick which KotlinModule constructor we compile against.