Skip to content

Commit

Permalink
Update the surefire command line to for Netty modules
Browse files Browse the repository at this point in the history
Need to patch Netty at runtime and enable reflection
  • Loading branch information
jduo committed Dec 1, 2023
1 parent 4e4a6ba commit 0d44ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED</argLine>
<argLine>--add-opens java.base/jdk.internal.misc=io.netty.common --patch-module=io.netty.buffer=${project.basedir}/../memory-netty-buffer-patch/target/arrow-memory-netty-buffer-patch-${project.version}.jar --add-opens=java.base/java.nio=org.apache.arrow.memory.core,io.netty.common,ALL-UNNAMED</argLine>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 0d44ba1

Please sign in to comment.