FasterXML / FasterXML/jackson-future-ideas

Change the `jackson-core` supported Android version in Jackson 3.2

Open
#102 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
21
Forks
3
PR merge metrics
No merged PRs in 30d

Description

For https://github.com/FasterXML/jackson-core/pull/1544, I ran into the issue that I used a Java 9 API - Objects.checkFromIndexSize.

This caused the Animal Sniffer check to fail. Android SDK 26 corresponds to Java 8 APIs.

Since Jackson 3 is meant to support Java 17 min, shouldn't we update the Android min?

Copilot/Claude suggested this:
For Android specifically, this method is available starting with Android API level 33 (Android 13 / Tiramisu), as that's when Android added support for several Java 9+ methods in the java.util.Objects class.

We recently added usage of Objects.checkFromIndexSize in https://github.com/FasterXML/jackson-databind/pull/5691 and also in jackson-dataformats-text but I'm not sure if we guarantee the same Android min support there are we do in Jackson-Core.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.