Sergey Nuyanzin created FLINK-39755:
---------------------------------------
Summary: 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
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)