From 2720a40a204aa0cd27b533877f7276b831b07b1b Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Wed, 13 Mar 2019 08:25:10 +0100 Subject: [PATCH] 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. --- transport-native-epoll/pom.xml | 4 ++-- transport-native-kqueue/pom.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/transport-native-epoll/pom.xml b/transport-native-epoll/pom.xml index 929325769a..83c1b249d1 100644 --- a/transport-native-epoll/pom.xml +++ b/transport-native-epoll/pom.xml @@ -28,8 +28,8 @@ io.netty.transport.epoll - - --add-exports java.base/sun.security.x509=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED + + --add-exports java.base/sun.security.x509=ALL-UNNAMED netty-unix-common ${project.build.directory}/unix-common-lib ${unix.common.lib.dir}/META-INF/native/lib diff --git a/transport-native-kqueue/pom.xml b/transport-native-kqueue/pom.xml index da72573ebf..bc7686f6ca 100644 --- a/transport-native-kqueue/pom.xml +++ b/transport-native-kqueue/pom.xml @@ -352,8 +352,8 @@ io.netty.transport.kqueue - - --add-exports java.base/sun.security.x509=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED + + --add-exports java.base/sun.security.x509=ALL-UNNAMED netty-unix-common ${project.build.directory}/unix-common-lib ${unix.common.lib.dir}/META-INF/native/lib