Currently we cannot add test cases for Record-handling, in Jackson 2.x, due to JDK baseline being Java 8 still.
But there is a way to do this; used f.ex by jackson-databind.
This is relatively simple by:
Adding tests under src/test-jdk17/java/
Using specific Maven profile to conditionally include this test source directory if (and only if) running on JDK 17+
It'd be good to be able to add specific Records-with-XML test cases.
(note: offshoot from #517)
Currently we cannot add test cases for Record-handling, in Jackson 2.x, due to JDK baseline being Java 8 still. But there is a way to do this; used f.ex by
jackson-databind
. This is relatively simple by:src/test-jdk17/java/
It'd be good to be able to add specific Records-with-XML test cases.