Skip to content

Commit 6d89b7a

Browse files
committed
HADOOP-19530. Add --enable-native-access=ALL-UNNAMED JVM option
1 parent a5c22c5 commit 6d89b7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hadoop-project/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@
182182
--add-opens=java.base/java.util.zip=ALL-UNNAMED
183183
--add-opens=java.base/sun.security.util=ALL-UNNAMED
184184
--add-opens=java.base/sun.security.x509=ALL-UNNAMED
185+
--enable-native-access=ALL-UNNAMED
185186
</extraJavaTestArgs>
186187
<!-- Plugin versions and config -->
187188
<maven-surefire-plugin.argLine>-Xmx2048m -Xss2m -XX:+HeapDumpOnOutOfMemoryError ${extraJavaTestArgs}</maven-surefire-plugin.argLine>

0 commit comments

Comments
 (0)