From b8cfd0768e6a8047ce07d59bfc51285ce358f125 Mon Sep 17 00:00:00 2001 From: Chris Vest Date: Wed, 26 May 2021 18:31:28 +0200 Subject: [PATCH] Fixes for compilation and running tests with UnsafeBuffer implementation --- buffer-memseg/pom.xml | 4 -- buffer-tests/pom.xml | 97 +++++++++++++++++++++++++++++++++++++++++++ pom.xml | 89 --------------------------------------- 3 files changed, 97 insertions(+), 93 deletions(-) diff --git a/buffer-memseg/pom.xml b/buffer-memseg/pom.xml index 215d02c..16d8116 100644 --- a/buffer-memseg/pom.xml +++ b/buffer-memseg/pom.xml @@ -61,10 +61,6 @@ -Xlint:-options 256m 1024m - - --add-modules - jdk.incubator.foreign - diff --git a/buffer-tests/pom.xml b/buffer-tests/pom.xml index 2ed3b2d..78c2cce 100644 --- a/buffer-tests/pom.xml +++ b/buffer-tests/pom.xml @@ -30,6 +30,103 @@ Netty/Incubator/Buffer Tests jar + + 3.0.0-M5 + false + + -XX:+HeapDumpOnOutOfMemoryError + -Xmx2g + -Dio.netty.tryReflectionSetAccessible=true + --add-opens java.base/java.nio=io.netty.common + + + + + + + + maven-surefire-plugin + ${surefire.version} + + + **/*Test*.java + + ${argLine.common} ${argLine.mod} + + false + 600 + + false + 1C + + nosample + + + + + + org.codehaus.plexus + plexus-utils + 1.1 + + + org.apache.maven.surefire + surefire-junit-platform + ${surefire.version} + + + org.junit.jupiter + junit-jupiter-engine + 5.3.2 + pom + + + org.junit.jupiter + junit-jupiter-params + 5.3.2 + pom + + + org.mockito + mockito-core + 2.28.2 + pom + + + org.hamcrest + hamcrest-library + 1.3 + pom + + + junit + junit + 4.13 + pom + + + org.powermock + powermock-reflect + 2.0.5 + pom + + + org.assertj + assertj-core + 3.9.1 + pom + + + org.easytesting + fest-assert + 1.4 + pom + + + + + + io.netty.incubator diff --git a/pom.xml b/pom.xml index 4ea1568..2e98b93 100644 --- a/pom.xml +++ b/pom.xml @@ -75,15 +75,6 @@ 11 5.7.0 - 3.0.0-M5 - false - - -XX:+HeapDumpOnOutOfMemoryError - -Xmx2g - -Dio.netty.tryReflectionSetAccessible=true - --add-opens java.base/java.nio=io.netty.common - - @@ -192,86 +183,6 @@ - - maven-surefire-plugin - ${surefire.version} - - - **/*Test*.java - - ${argLine.common} ${argLine.mod} - - false - 600 - - false - 1C - - nosample - - - - - - org.codehaus.plexus - plexus-utils - 1.1 - - - org.apache.maven.surefire - surefire-junit-platform - ${surefire.version} - - - org.junit.jupiter - junit-jupiter-engine - 5.3.2 - pom - - - org.junit.jupiter - junit-jupiter-params - 5.3.2 - pom - - - org.mockito - mockito-core - 2.28.2 - pom - - - org.hamcrest - hamcrest-library - 1.3 - pom - - - junit - junit - 4.13 - pom - - - org.powermock - powermock-reflect - 2.0.5 - pom - - - org.assertj - assertj-core - 3.9.1 - pom - - - org.easytesting - fest-assert - 1.4 - pom - - - org.apache.felix