Junqing Li created FLINK-39654:
----------------------------------
Summary: Add JDK 25 CI test lane
Key: FLINK-39654
URL: https://issues.apache.org/jira/browse/FLINK-39654
Project: Flink
Issue Type: Sub-task
Components: Build System
Affects Versions: 2.3.0
Reporter: Junqing Li
Description:
Building on FLINK-38474 (java25-target profile) and the compilation fixes
already resolved under FLINK-37719, this adds infrastructure to run Flink's
test suite under JDK 25 in CI.
The CI lane is configured as non-blocking (continue-on-error: true) since
several components still have outstanding JDK 25 incompatibilities tracked
under FLINK-37719. The purpose is to provide continuous visibility into JDK 25
readiness as fixes land incrementally.
This follows the same approach used for JDK 17 (FLINK-15736) and JDK 21
(FLINK-33163) support.
Scope:
- Add Zulu 25 toolchain entry to root pom.xml
- Add parallel JDK 25 lane in .github/workflows/ci.yml (non-blocking)
- Add Zulu 25 installation in .github/actions/job_init/action.yml
- Add workflow-caller-id to disambiguate JDK 17 vs JDK 25 build artifacts
- Add JDK 25 surefire --add-opens/--add-exports flags for flink-core,
flink-streaming-java, and flink-runtime
- Add JDK 25 handling in flink-dist config.sh
Known expected failures (tracked by other FLINK-37719 subtasks):
- Hadoop-related tests (getSubject) — pending FLINK-30975
- SecurityManager removal
- ServiceLoader ClassNotFoundException
- Netty 4.2 SSL/close-path semantics on JDK 24+
--
This message was sent by Atlassian Jira
(v8.20.10#820010)