You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by gu...@apache.org on 2025/02/25 06:12:24 UTC
(flink) branch release-2.0 updated: [FLINK-37339][doc] Update java_compatibility doc
This is an automated email from the ASF dual-hosted git repository.
guoweijie pushed a commit to branch release-2.0
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-2.0 by this push:
new 1c5e5f7db8d [FLINK-37339][doc] Update java_compatibility doc
1c5e5f7db8d is described below
commit 1c5e5f7db8df52bcca78a8dfa70f1371af9449e6
Author: Weijie Guo <re...@163.com>
AuthorDate: Tue Feb 25 10:47:41 2025 +0800
[FLINK-37339][doc] Update java_compatibility doc
---
.../content.zh/docs/deployment/java_compatibility.md | 20 +++++++++++++++-----
docs/content/docs/deployment/java_compatibility.md | 19 ++++++++++++++-----
2 files changed, 29 insertions(+), 10 deletions(-)
diff --git a/docs/content.zh/docs/deployment/java_compatibility.md b/docs/content.zh/docs/deployment/java_compatibility.md
index 088e68b5d8a..7d12484f48e 100644
--- a/docs/content.zh/docs/deployment/java_compatibility.md
+++ b/docs/content.zh/docs/deployment/java_compatibility.md
@@ -28,9 +28,7 @@ This page lists which Java versions Flink supports and what limitations apply (i
## Java 11
-Support for Java 11 was added in 1.10.0 and is the recommended Java version to run Flink on.
-
-This is the default version for docker images.
+Support for Java 11 was added in 1.10.0.
### Untested Flink features
@@ -45,7 +43,8 @@ The following Flink features have not been tested with Java 11:
## Java 17
-Experimental support for Java 17 was added in 1.18.0. ([FLINK-15736](https://issues.apache.org/jira/browse/FLINK-15736))
+We use Java 17 by default in Flink 2.0.0 and is the recommended Java version to run Flink on.
+This is the default version for docker images.
### Untested Flink features
@@ -54,6 +53,17 @@ These Flink features have not been tested with Java 17:
* Hive connector
* Hbase 1.x connector
+## Java 21
+
+Experimental support for Java 21 was added in 2.0.0. ([FLINK-33163](https://issues.apache.org/jira/browse/FLINK-33163))
+
+### Untested Flink features
+
+These Flink features have not been tested with Java 21:
+
+* Hive connector
+* Hbase 1.x connector
+
### JDK modularization
Starting with Java 16 Java applications have to fully cooperate with the JDK modularization, also known as [Project Jigsaw](https://openjdk.org/projects/jigsaw/).
@@ -68,5 +78,5 @@ The list of configured arguments must not be shortened, but only extended.
### Known issues
-* Java records are not supported. See [FLINK-32380](https://issues.apache.org/jira/browse/FLINK-32380) for updates.
+* Mandatory Kryo dependency upgrade, [FLIP-371](https://cwiki.apache.org/confluence/display/FLINK/FLIP-317%3A+Upgrade+Kryo+from+2.24.0+to+5.5.0).
* SIGSEGV in C2 Compiler thread: Early Java 17 builds are affected by a bug where the JVM can fail abruptly. Update your Java 17 installation to resolve the issue. See [JDK-8277529](https://bugs.openjdk.org/browse/JDK-8277529) for details.
diff --git a/docs/content/docs/deployment/java_compatibility.md b/docs/content/docs/deployment/java_compatibility.md
index 4dbb3643278..7d12484f48e 100644
--- a/docs/content/docs/deployment/java_compatibility.md
+++ b/docs/content/docs/deployment/java_compatibility.md
@@ -28,9 +28,7 @@ This page lists which Java versions Flink supports and what limitations apply (i
## Java 11
-Support for Java 11 was added in 1.10.0 and is the recommended Java version to run Flink on.
-
-This is the default version for docker images.
+Support for Java 11 was added in 1.10.0.
### Untested Flink features
@@ -45,8 +43,8 @@ The following Flink features have not been tested with Java 11:
## Java 17
-Experimental support for Java 17 was added in 1.18. ([FLINK-15736](https://issues.apache.org/jira/browse/FLINK-15736))
-In Flink 1.19, we added support for Java Records. ([FLINK-32380](https://issues.apache.org/jira/browse/FLINK-32380))
+We use Java 17 by default in Flink 2.0.0 and is the recommended Java version to run Flink on.
+This is the default version for docker images.
### Untested Flink features
@@ -55,6 +53,17 @@ These Flink features have not been tested with Java 17:
* Hive connector
* Hbase 1.x connector
+## Java 21
+
+Experimental support for Java 21 was added in 2.0.0. ([FLINK-33163](https://issues.apache.org/jira/browse/FLINK-33163))
+
+### Untested Flink features
+
+These Flink features have not been tested with Java 21:
+
+* Hive connector
+* Hbase 1.x connector
+
### JDK modularization
Starting with Java 16 Java applications have to fully cooperate with the JDK modularization, also known as [Project Jigsaw](https://openjdk.org/projects/jigsaw/).