HBASE-27591 [JDK17] Fix failure TestImmutableScan#testScanCopyConstructor (#4994)
Co-authored-by: tianhang.tang <tianhang.tang@shopee.com>
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 06f294e637
)
This commit is contained in:
parent
b6d99600c7
commit
96457e4e25
12
pom.xml
12
pom.xml
|
@ -2682,7 +2682,17 @@
|
|||
<properties>
|
||||
<maven.compiler.release>${releaseTarget}</maven.compiler.release>
|
||||
<!-- TODO: replicate logic for windows support -->
|
||||
<argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
|
||||
<argLine>-Dorg.apache.hbase.thirdparty.io.netty.tryReflectionSetAccessible=true
|
||||
--add-modules jdk.unsupported
|
||||
--add-opens java.base/java.nio=ALL-UNNAMED
|
||||
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
|
||||
--add-opens java.base/java.lang=ALL-UNNAMED
|
||||
--add-opens java.base/jdk.internal.ref=ALL-UNNAMED
|
||||
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
|
||||
--add-opens java.base/java.util=ALL-UNNAMED
|
||||
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
|
||||
--add-exports java.security.jgss/sun.security.krb5=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>
|
||||
<!--
|
||||
|
|
Loading…
Reference in New Issue