Skip to content

Commit

Permalink
[FLINK-34003] Java 17 support for connector
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnVisser committed Jan 5, 2024
1 parent a6535f5 commit 0c37741
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions flink-connector-hbase-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ under the License.
<name>Flink : Connectors : HBase Base</name>
<packaging>jar</packaging>

<properties>
<surefire.module.config> <!-- required by
Db2ExactlyOnceSinkE2eTest --> --add-opens=java.base/java.util=ALL-UNNAMED <!--
SimpleJdbcConnectionProviderDriverClassConcurrentLoadingITCase--> --add-opens=java.base/java.lang=ALL-UNNAMED
</surefire.module.config>
</properties>

<dependencies>
<!-- Core -->
<dependency>
Expand Down
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ under the License.

<!-- For directory plugin -->
<flink.parent.artifactId>flink-connector-hbase-parent</flink.parent.artifactId>
<!-- These 2 properties should be removed together with upgrade of flink-connector-parent to 1.1.x -->
<flink.surefire.baseArgLine>-XX:+UseG1GC -Xms256m -XX:+IgnoreUnrecognizedVMOptions ${surefire.module.config}</flink.surefire.baseArgLine>
<surefire.module.config/>
</properties>

<modules>
Expand Down

0 comments on commit 0c37741

Please sign in to comment.