-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
to-evaluateIssue that has been received but not yet evaluatedIssue that has been received but not yet evaluated
Description
Search before asking
- I searched in the issues and found nothing similar.
Describe the bug
After upgrading the jackson-databind
version, I've found a crash on the ObjectMapper
constructor. This only happens on Android API versions older than 26 (android 8.0)
Here's the stacktrace:
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/lang/BootstrapMethodError;
at com.fasterxml.jackson.databind.util.ExceptionUtil.isFatal(ExceptionUtil.java:51)
at com.fasterxml.jackson.databind.util.ExceptionUtil.rethrowIfFatal(ExceptionUtil.java:31)
at com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector.<clinit>(JacksonAnnotationIntrospector.java:70)
at com.fasterxml.jackson.databind.ObjectMapper.<clinit>(ObjectMapper.java:402)
Version Information
2.17.2
2.8.3 does not present this problem
Reproduction
Run a sample Android app that calls the ObjectMapper
constructor, on any device with API level < 26
Expected behavior
No response
Additional context
The crash seems to have been introduced by #3827, as before the exception was likely caught and ignored. I have been unable to find the underlying exception that is rethrown.
Metadata
Metadata
Assignees
Labels
to-evaluateIssue that has been received but not yet evaluatedIssue that has been received but not yet evaluated