On Thu, Jan 31, 2019 at 3:34 PM Penny Wells <[email protected]> wrote:
>
> The Jackson component is embedded into an enterprise software of our company 
> that will not go beyond Java 7 for many years to come.
> Can we safely make the assumption that Jackson 2.9.8 will never require Java 
> version 7 ? We will not use any Java 8-specific features (Lambda expressions, 
> etc), but will that guarantee taht the Jackson 2.9.8 will worked as they have 
> been in the recent versions on Java 7 ? (Build and Runtime).Is it possible to 
> exclude any Java-8-specific support from Jackson libraries version 2.9.8 ?

Yes. Jackson 2.9.x in general does not use any Java 8 (or beyond
features) without additional modules (there are 3 that can be used to
add Java 8 features like Optional, and Java 8 date/time). Runtime
attempts to work on Java 6, with (small number of) Java 7 types being
dynamically loaded, but build requires JDK 7.

It is our intention to keep the same baseline for 2.10 as well, and
barring any unforeseen major breakages, I don't see why 2.x major
version would ever require Java 8 to run.

-+ Tatu +-

ps. I am happy this question gets asked as often feedback on need for
support for older JVM/JDK versions is not nearly as loud as one for
forward-direction (when does Jackson fully support Java 11) -- there's
fine balance with things

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to