Skip to content

Commit

Permalink
[FLINK-35836][fs] Fix reflection issue for s5 ITCase in JDK17
Browse files Browse the repository at this point in the history
  • Loading branch information
reswqa committed Jul 15, 2024
1 parent a021082 commit 9d93a7b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flink-filesystems/flink-s3-fs-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ under the License.
<properties>
<fs.s3.aws.version>1.12.319</fs.s3.aws.version>
<japicmp.skip>true</japicmp.skip>
<surefire.module.config> <!--
S5CmdOnMinioITCase uses ArraysAsListSerializer indirectly
-->--add-opens=java.base/java.util=ALL-UNNAMED
</surefire.module.config>
</properties>

<dependencies>
Expand Down
7 changes: 7 additions & 0 deletions flink-filesystems/flink-s3-fs-hadoop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ under the License.

<packaging>jar</packaging>

<properties>
<surefire.module.config> <!--
S5CmdOnHadoopS3FileSystemITCase uses ArraysAsListSerializer indirectly
-->--add-opens=java.base/java.util=ALL-UNNAMED
</surefire.module.config>
</properties>

<dependencyManagement>
<dependencies>
<!-- Override the flink-parent dependencyManagement definition for hadoop-common to ensure
Expand Down
4 changes: 4 additions & 0 deletions flink-filesystems/flink-s3-fs-presto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ under the License.

<properties>
<presto.version>0.272</presto.version>
<surefire.module.config> <!--
S5CmdOnPrestoS3FileSystemITCase uses ArraysAsListSerializer indirectly
-->--add-opens=java.base/java.util=ALL-UNNAMED
</surefire.module.config>
</properties>

<dependencies>
Expand Down

0 comments on commit 9d93a7b

Please sign in to comment.