JodaOrg / joda-time

Joda-Time is the widely used replacement for the Java date and time classes prior to Java SE 8.
http://www.joda.org/joda-time/
Apache License 2.0
4.98k stars 986 forks source link

Change JDK baseline (v3) #765

Open jodastephen opened 10 months ago

jodastephen commented 10 months ago

Version 3 should be based off a new baseline JDK.

Java 11 is the first sensible version beyond the module system. As a general rule, Joda-Time has been conservative with the JDK version, thus Java 11 would be the natural baseline, but it is likely to EOL before Java 8.

Java 21 is the latest version, and likely to be more adopted than 11 or 17 over time. Users wanting jlink support will generally be pushing up to the latest LTS release, making this a reasonably strong choice.

Need to identify if there are any APIs or issues that push one way or the other between these versions.

Any thoughts welcome.

silviuburceadev commented 7 months ago

Spring Boot 3 requires Java 17 and many people are migrating to Java 17 just to be able to use SB 3. The adoption rate for Java 21 isn't great and forcing a minimum of Java 21 will not help the adoption rate of joda-time v3 either.

Java 21 is relatively new and the tooling is still catching up.

Hope this helps.

jodastephen commented 2 months ago

My plan is to move to a Java 21 baseline at some point.