-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jackson V3 - Use JDK 11/17 as the minimum required #3946
Comments
Yes, this would make sense. One possibility would be to start by going to JDK 11 now, make sure things work. And then see what is needed for JDK 17. Reason I like going to 17 is that Record support could be simplified quite a bit, probably. |
Well 11 is EOL in September.... I'm definitely routing for JDK 17 <3 I've been using 2.x on JDK 17 Quarkus and standalone JLink for a while now, but I don't really have any edge cases |
Let's go to JDK 11 first nonetheless. I am not opposed to 17 but there's no real hurry. |
Java 8 is still well supported - see https://en.wikipedia.org/wiki/Java_version_history |
@pjfanning Yes, for historical reasons Java 8 is supported longer than many later versions. Plus since transition from 8 to 9 is such a big shift. Still, by the time Jackson 3.0 is ready I think we are probably ready to move on. |
@pjfanning See https://www.oracle.com/java/technologies/java-se-support-roadmap.html For the standard Java developer, JDK 8 is effectively canned? |
Oracle are not the only Java Runtime providers. Adoptium and Azul Zulu, among others are very good alternatives. https://en.wikipedia.org/wiki/Java_version_history is well maintained. |
It is, but it's also legacy money making :) Wikipedia also isn't a valid source for anything really? By that logic, GraalVM on JDK 7 is still supported and we shouldn't have bumped to JDK 8, even though Oracle killed it offwith commerical support ages ago.... The argument for alternative vendor support makes no sense when JDK's reach EOL, it is for enterprise support to assist in keeping legacy software operational - but it is still legacy software |
+1 for "at least" JDK because....
|
Close in favor of #4820. |
Is your feature request related to a problem? Please describe.
The movement of JDK's is accelerating, with a 460% increase in adoption of JDK 17 for the period 2022/2023.
JDK 8 EOL is getting to a decade out of date
Describe the solution you'd like
Is it possible to mark Jackson v3 for JDK 11, or JDK 17 as a base? As an example, Guice and other providers are setting the minimum JDK's, and compatibility is being affected having a build of JDK 8
Usage example
For JDK 11, no updates are necessary, as the test project (jackson-jdk11-test) compiles cleanly,
For JDK 17, there may be updates required to conform to the strict encapsulation requirements of the JDK
Additional context
Should be a simple switch to the source/target/ and release compiler flags in the POM
Relates to
FasterXML/jackson-modules-base#209
The text was updated successfully, but these errors were encountered: