steve icon indicating copy to clipboard operation
steve copied to clipboard

Community feedback wanted: Migrate from Java 11 to Java 17

Open goekay opened this issue 2 years ago • 3 comments

Hey all,

our Java version, Java 11, has been released in 2018. Java 17 has been released in 2021. Both are LTS. I want to migrate the project to Java 17 because there is some momentum behind it:

  1. JooQ (our DB abstraction layer) made it the baseline for new versions [source]. Because of this we cannot update it and merge automatic PRs from dependabot starting with this.
  2. Next Spring version will be released in Q4 2022. Java 17 will be the baseline for Spring 6: https://spring.io/blog/2021/09/02/a-java-17-and-jakarta-ee-9-baseline-for-spring-framework-6

The cadence of new Java version releases increased in recent years. The migrations from an older to a newer release are less of an issue for users.

Feedback and ideas are welcome. Are you okay with this?

goekay avatar Sep 03 '22 08:09 goekay

A rule we use at @testng-team is: only need to support the 2 last LTS. But TestNG is a library, not a project.

The latest LTS is supposed to be enough for a free hobby project. If someone can't use the latest Java LTS version, I suppose they can pay for its support.

Maybe a features/java17-migration branch with the changes could help to provide more feedback.

juherr avatar Sep 05 '22 19:09 juherr

the latest raspian version is based on debian 11 which comes by default with java 11. Ubuntu LTS 20.04 which is also still quiet common as base image e.g. in Azure also comes with java 11 (22.04 comes with java 17).

So it would be some hassle for a lot of users. I would wait a bit more.

csamsel avatar Sep 12 '22 16:09 csamsel

FWIW I successfully tested Steve 3.4.9 with Debian 11 and OpenJDK 17.0.4 (amd64), which is also available via apt.

lategoodbye avatar Sep 21 '22 10:09 lategoodbye

just as a note: spring 6 is out and PRs created by dependabot started failing. example: https://github.com/steve-community/steve/pull/971

goekay avatar Nov 20 '22 22:11 goekay

Upgrade to Java 17 sounds good to me!

keeth avatar Jan 14 '23 16:01 keeth