[ 
https://issues.apache.org/jira/browse/FLINK-39755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18083396#comment-18083396
 ] 

Sergey Nuyanzin commented on FLINK-39755:
-----------------------------------------

Merged as 
[0b1da64c2701fabc490ce688167d37fd819049e7|0b1da64c2701fabc490ce688167d37fd819049e7https://github.com/apache/flink/commit/0b1da64c2701fabc490ce688167d37fd819049e7]

> 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
>
> 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)

Reply via email to