[
https://issues.apache.org/jira/browse/FLINK-33699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17911312#comment-17911312
]
Luke Chen edited comment on FLINK-33699 at 1/9/25 3:26 AM:
-----------------------------------------------------------
I'd like to take this ticket to complete the Java 21 support feature.
Since it's impossible to run a test with multiple jdk version at the same time
(i.e. Run test with jdk 21, but build snapshot with jdk 8), I'd propose we
pre-prepared 3 snapshots that built with jdk 8/11/17 and load them during the
tests under jdk 21. Does that make sense [~yunta] ?
was (Author: showuon):
I'd like to take this ticket.
Since it's impossible to run a test with multiple jdk version at the same time
(i.e. Run test with jdk 21, but build snapshot with jdk 8), I'd propose we
pre-prepared 3 snapshots that built with jdk 8/11/17 and load them during the
tests under jdk 21. Does that make sense [~yunta] ?
> Verify the snapshot migration on Java21
> ---------------------------------------
>
> Key: FLINK-33699
> URL: https://issues.apache.org/jira/browse/FLINK-33699
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Checkpointing
> Reporter: Yun Tang
> Priority: Major
>
> In Java 21 builds, Scala is being bumped to 2.12.18, which causes
> incompatibilities within Flink.
> This could affect loading savepoints from a Java 8/11/17 build. We already
> have tests extending {{SnapshotMigrationTestBase}} to verify the logic of
> migrating snapshots generated by the older Flink version. I think we can also
> introduce similar tests to verify the logic across different Java versions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)