Because the bi-yearly JDK releases aren't preview releases, they are meant to be production releases. LTS releases are simply the same timed releases but happen to be released in September in odd numbered years. JDK17 contained preview and incubator features just like every other release since JDK9.
The JDK preview releases are the Early Access and Release Candidate builds that you can download each week. The *.0.1 and *.0.2 are bugfix releases of the General Availability builds that are released every three months.
There are no more epochal feature releases any more, but simply bi-yearly General Availability releases. JDK20 is just simply the upgrade to JDK19 with about 2300 source code commits.
They can't be production releases as support/patches stop after 6 months. Which is super fast for production. So we still get production releases every 3 years, and it takes some time to upgrade as there is always something broken between LTS versions. Our code still runs on 11, and I'm afraid to move to 17 as who knows how many outages it'll cause.
Well, zero outages, unless you don't have any tests or use production to test. If something always breaks, you may want to review your choices of dependencies, and/or development practices to eliminate the culprit(s).
The root cause is a new JDK version. If we change nothing in our choices/practices and don't upgrade Java, nothing breaks. If we change Java, something always breaks. So for us, it's obvious that we don't want to upgrade as much as possible. It's also the same for most major companies with non-small projects.
Correct, it's the tool. Oracle decided to shift the costs to QA new versions to users (developers using Java). And also did a good job convincing developers that it's normal to spend time constantly making changes updating dependencies and Java. No, it's not. The tool should be stable and developers should spend time working on features for their business, not dealing with Java issues.
7
u/emaphis Mar 21 '23
Because the bi-yearly JDK releases aren't preview releases, they are meant to be production releases. LTS releases are simply the same timed releases but happen to be released in September in odd numbered years. JDK17 contained preview and incubator features just like every other release since JDK9.
The JDK preview releases are the Early Access and Release Candidate builds that you can download each week. The *.0.1 and *.0.2 are bugfix releases of the General Availability builds that are released every three months.
There are no more epochal feature releases any more, but simply bi-yearly General Availability releases. JDK20 is just simply the upgrade to JDK19 with about 2300 source code commits.