You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yuepeng Pan (Jira)" <ji...@apache.org> on 2026/06/09 16:41:00 UTC
[jira] [Commented] (FLINK-39755) RuntimeOpenRestAPIDocsCompletenessITCase fails for jdk 21+
[ https://issues.apache.org/jira/browse/FLINK-39755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18087715#comment-18087715 ]
Yuepeng Pan commented on FLINK-39755:
-------------------------------------
BP to release-2.3 via: 402a6a7389e8fb01b5df65c9662bfca5e2fc1673
> RuntimeOpenRestAPIDocsCompletenessITCase fails for jdk 21+
> ----------------------------------------------------------
>
> Key: FLINK-39755
> URL: https://issues.apache.org/jira/browse/FLINK-39755
> Project: Flink
> Issue Type: Sub-task
> Components: Documentation, Tests
> Reporter: Sergey Nuyanzin
> Assignee: Sergey Nuyanzin
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.3.0, 2.4.0
>
>
> The reason is that starting java 21 there is SequenceCollection which brings {{last}} and {{first}} methods
> On the other side {{ConfigurationInfo}}, and {{JobRescalesHistory}} extend {{ArrayList}}
> as a result in case of java 21 or java 25 it fails as
> {noformat}
> May 25 21:18:01 21:18:01.920 [ERROR] RuntimeOpenRestAPIDocsCompletenessITCase.testRuntimeRestApiDocsUpToDate:73 [Committed `rest_v1_dispatcher.yml` file is out of date. Please regenerate docs under `flink-docs` module based on `README.md`.]
> May 25 21:18:01 Path:
> May 25 21:18:01 /__w/1/s/docs/static/generated/rest_v1_dispatcher.yml
> May 25 21:18:01 and path:
> May 25 21:18:01 /tmp/junit-2445394591213322851/rest_v1_dispatcher.yml
> May 25 21:18:01 do not have same content:
> May 25 21:18:01
> May 25 21:18:01 Missing content at line 90:
> May 25 21:18:01 [" properties:",
> May 25 21:18:01 " first:",
> May 25 21:18:01 " $ref: "#/components/schemas/ConfigurationInfoEntry"",
> May 25 21:18:01 " last:",
> May 25 21:18:01 " $ref: "#/components/schemas/ConfigurationInfoEntry""]
> May 25 21:18:01
> May 25 21:18:01 Missing content at line 409:
> May 25 21:18:01 [" properties:",
> May 25 21:18:01 " first:",
> May 25 21:18:01 " $ref: "#/components/schemas/ConfigurationInfoEntry"",
> May 25 21:18:01 " last:",
> May 25 21:18:01 " $ref: "#/components/schemas/ConfigurationInfoEntry""]
> May 25 21:18:01
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)