Any Android developers around to maybe help with jackson-databind/Android SDK compat testing?

5 views
Skip to first unread message

Tatu Saloranta

unread,
Nov 11, 2022, 11:17:05 PM11/11/22
to jacks...@googlegroups.com
Ok, so. Jackson-databind works on Android, requiring a certain minimum
Android SDK version. But we:

1. Don't necessarily know exactly which SDK version for given Jackson version
2. Cannot guarantee that there are no changes that change (increase)
minimum needed for patches
3. Do not properly plan on increasing minimum SDK requirement (unlike
with JDK itself)

But I think that it should be possible to build something with Github
CI actions that could test (1) so we could do (2) and (3).
This could be something like Retrofit (http client) does with:

https://github.com/square/retrofit/tree/master/retrofit/android-test

which is, I think, to have a simple Android test project specifically
meant for quick testing that things work against specific Jackson
version with defined Android SDK level(s).

Unfortunately I do not develop on Android platform and don't quite
know how to do this.

But I am guessing someone on this mailing lists might have more
experience and could perhaps help? It would be great to better support
Android developers and avoid issues like:

https://github.com/FasterXML/jackson-databind/issues/3412
https://github.com/FasterXML/jackson-databind/issues/3658

wherein basic SDK was unintentionally increased.

-+ Tatu +-

Tatu Saloranta

unread,
Nov 16, 2022, 10:44:00 PM11/16/22
to jacks...@googlegroups.com
I was able to add CI-integrated Android SDK compatibility test for
`jackson-databind` so we have that covered.
But I will also need to port same thing to `jackson-core`, as well as
update READMEs with observed compatibility
information.

You can see compatibility checking as a new Github Action stage
"Verify Android SDK Compatibility" in default build job (main.yaml),
if interested, f.ex:

https://github.com/FasterXML/jackson-databind/actions/runs/3485040925/jobs/5830206486

-+ Tatu +-
Reply all
Reply to author
Forward
0 new messages