This is an automated email from the ASF dual-hosted git repository.

snuyanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 0b1da64c270 [FLINK-39755][tests] 
`RuntimeOpenRestAPIDocsCompletenessITCase` fails for jdk 21+
0b1da64c270 is described below

commit 0b1da64c2701fabc490ce688167d37fd819049e7
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Tue May 26 07:20:07 2026 +0200

    [FLINK-39755][tests] `RuntimeOpenRestAPIDocsCompletenessITCase` fails for 
jdk 21+
---
 .../java/org/apache/flink/runtime/rest/messages/ConfigurationInfo.java  | 2 ++
 .../flink/runtime/rest/messages/job/rescales/JobRescalesHistory.java    | 2 ++
 2 files changed, 4 insertions(+)

diff --git 
a/flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/ConfigurationInfo.java
 
b/flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/ConfigurationInfo.java
index 82abe13c6f5..28beeb40fb2 100644
--- 
a/flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/ConfigurationInfo.java
+++ 
b/flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/ConfigurationInfo.java
@@ -24,6 +24,7 @@ import org.apache.flink.configuration.SecurityOptions;
 import org.apache.flink.runtime.rest.handler.cluster.ClusterConfigHandler;
 
 import 
org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonIgnore;
+import 
org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonIgnoreProperties;
 
 import java.util.ArrayList;
 import java.util.Map;
@@ -32,6 +33,7 @@ import java.util.Map;
  * Response of the {@link ClusterConfigHandler}, represented as a list of 
key-value pairs of the
  * cluster {@link Configuration}.
  */
+@JsonIgnoreProperties({"first", "last"})
 public class ConfigurationInfo extends ArrayList<ConfigurationInfoEntry> 
implements ResponseBody {
 
     private static final long serialVersionUID = -1170348873871206964L;
diff --git 
a/flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/job/rescales/JobRescalesHistory.java
 
b/flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/job/rescales/JobRescalesHistory.java
index 9cfc69d9388..d8864a1447b 100644
--- 
a/flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/job/rescales/JobRescalesHistory.java
+++ 
b/flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/job/rescales/JobRescalesHistory.java
@@ -24,6 +24,7 @@ import 
org.apache.flink.runtime.scheduler.adaptive.timeline.Rescale;
 import 
org.apache.flink.runtime.scheduler.adaptive.timeline.RescalesStatsSnapshot;
 
 import 
org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonIgnore;
+import 
org.apache.flink.shaded.jackson2.com.fasterxml.jackson.annotation.JsonIgnoreProperties;
 
 import io.swagger.v3.oas.annotations.media.Schema;
 
@@ -34,6 +35,7 @@ import java.util.stream.Collectors;
 
 /** Response body for {@link JobRescalesHistoryHandler}. */
 @Schema(name = "JobRescalesHistory")
+@JsonIgnoreProperties({"first", "last"})
 public class JobRescalesHistory extends ArrayList<JobRescaleDetails>
         implements ResponseBody, Serializable {
 

Reply via email to