Skip to content

Commit

Permalink
HBASE-26046 Add a JDK17 profile
Browse files Browse the repository at this point in the history
Change-Id: I7b217afb64fca8bfcf20aa06d44183147359db07
  • Loading branch information
jojochuang committed Jun 30, 2021
1 parent 79659d8 commit b909db7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pom.xml
Expand Up @@ -2636,6 +2636,32 @@
<surefire.Xmx>2200m</surefire.Xmx>
</properties>
</profile>
<profile>
<id>build-with-jdk17</id>
<activation>
<jdk>[1.17,)</jdk>
</activation>
<properties>
<!-- TODO: replicate logic for windows support -->
<argLine>--add-opens java.base/jdk.internal.ref=ALL-UNNAMED
--add-opens java.base/java.nio.channels.spi=ALL-UNNAMED
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.nio=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
--add-exports java.base/sun.nio.ch=ALL-UNNAMED
--add-exports java.security.jgss/sun.security.krb5=ALL-UNNAMED
--add-exports java.base/sun.security.x509=ALL-UNNAMED
${hbase-surefire.argLine}</argLine>
<!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
<hadoop-three.version>3.2.0</hadoop-three.version>
<!--
Value to use for surefire when running jdk11.
TODO: replicate logic for windows
-->
<surefire.Xmx>2200m</surefire.Xmx>
</properties>
</profile>
<!-- profile activated by the Jenkins patch testing job -->
<profile>
<id>jenkins.patch</id>
Expand Down

0 comments on commit b909db7

Please sign in to comment.