Martijn Visser created FLINK-41646:
--------------------------------------
Summary: FLIP-623: Java support policy
Key: FLINK-41646
URL: https://issues.apache.org/jira/browse/FLINK-41646
Project: Flink
Issue Type: Improvement
Components: Build System
Reporter: Martijn Visser
Flink has no rule for which Java versions it supports. Every change so far was
a one-off decision, and every one took long: Java 8 was deprecated in 1.15 and
removed in 2.0, 34.5 months later. Java 25 was released in September 2025 and
is still not supported in 2.4. This FLIP proposes a standing policy:
Flink supports two stable LTS versions.
* A new LTS is added as experimental. In the next minor it becomes stable
unless decided otherwise on the mailing list, and the oldest LTS is dropped in
that same release. The oldest LTS is marked deprecated in the release where the
new one becomes experimental.
* Changes only happen in minor releases, never in patch releases.
* Flink's jars target the oldest stable LTS.
* Released versions don't change: users who need Java 11 can stay on 2.4 or
1.20.
Proposal FLIP at
https://cwiki.apache.org/confluence/spaces/FLINK/pages/467435998/FLIP-623+Java+support+policy
and discussion thread at
https://lists.apache.org/thread.html/qck2oyn86d5pbxsqxt42xon76md0gv85
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)