1996fanrui opened a new pull request, #30128: URL: https://github.com/apache/flink/pull/30128
## What is the purpose of the change Backport of #28473 to release-2.2. #28473 was closed without merging because the fix was pushed directly to master (7e4930389ad), release-2.4 (0f53a91aa82), release-2.3 (1e3988ed6fc) and release-1.20 (063028deed6). This PR cherry-picks the release-2.3 commit, which is byte-identical to the master commit. ## Verifying this change - `./mvnw install -DskipTests -Dfast -Pskip-webui-build -pl flink-python -am` (JDK 17): BUILD SUCCESS - `./mvnw -pl flink-python -Dtest='ArrayConstructorTest' -Dsurefire.failIfNoSpecifiedTests=false test` (JDK 17): `Tests run: 4, Failures: 0, Errors: 0, Skipped: 0`, BUILD SUCCESS - `./mvnw -q -pl flink-python spotless:check checkstyle:check` (JDK 17): passed - Reverted-fix run: with only the `ArrayConstructor.java` change reverted, the same test command fails with `Tests run: 4, Failures: 3, Errors: 0, Skipped: 0` (`testLongArrayPreservesValuesAboveIntMax`, `testLongArrayWithSingleValue`, `testLongArrayWithEmptyList`), confirming the test covers the bug on release-2.2. ## Difference from the original | Original commit | Conflict | Byte-identical | Changes | | --- | --- | --- | --- | | 1e3988ed6fc | No | Yes | None | ## Notes - FLINK-39951 does not list a 2.2.x fix version; `ArrayConstructor.java` on release-2.2 is identical to the pre-fix file on the other branches, so the same bug applies. ##### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: Claude Code (Claude Opus 5.5) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
