Remove --add-opens=java.base/java.nio=ALL-UNNAMED when running tests as it is not needed anymore since a long time (#8934)
Motivation: At some point we needed --add-opens=java.base/java.nio=ALL-UNNAMED to run our native tests but this is not true anymore. Modifications: Remove --add-opens=java.base/java.nio=ALL-UNNAMED when running native tests. Result: Remove obsolate jvm arg.
This commit is contained in:
parent
7b5f4e0227
commit
2720a40a20
@ -28,8 +28,8 @@
|
||||
|
||||
<properties>
|
||||
<javaModuleName>io.netty.transport.epoll</javaModuleName>
|
||||
<!-- Needed by the native transport as we need the memoryAddress of the ByteBuffer -->
|
||||
<argLine.java9.extras>--add-exports java.base/sun.security.x509=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED</argLine.java9.extras>
|
||||
<!-- Needed as we use SelfSignedCertificate in our tests -->
|
||||
<argLine.java9.extras>--add-exports java.base/sun.security.x509=ALL-UNNAMED</argLine.java9.extras>
|
||||
<unix.common.lib.name>netty-unix-common</unix.common.lib.name>
|
||||
<unix.common.lib.dir>${project.build.directory}/unix-common-lib</unix.common.lib.dir>
|
||||
<unix.common.lib.unpacked.dir>${unix.common.lib.dir}/META-INF/native/lib</unix.common.lib.unpacked.dir>
|
||||
|
@ -352,8 +352,8 @@
|
||||
|
||||
<properties>
|
||||
<javaModuleName>io.netty.transport.kqueue</javaModuleName>
|
||||
<!-- Needed by the native transport as we need the memoryAddress of the ByteBuffer -->
|
||||
<argLine.java9.extras>--add-exports java.base/sun.security.x509=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED</argLine.java9.extras>
|
||||
<!-- Needed as we use SelfSignedCertificate in our tests -->
|
||||
<argLine.java9.extras>--add-exports java.base/sun.security.x509=ALL-UNNAMED</argLine.java9.extras>
|
||||
<unix.common.lib.name>netty-unix-common</unix.common.lib.name>
|
||||
<unix.common.lib.dir>${project.build.directory}/unix-common-lib</unix.common.lib.dir>
|
||||
<unix.common.lib.unpacked.dir>${unix.common.lib.dir}/META-INF/native/lib</unix.common.lib.unpacked.dir>
|
||||
|
Loading…
Reference in New Issue
Block a user