From e440f5fb3865f4d41fe3e2960b4ef421de574ca5 Mon Sep 17 00:00:00 2001 From: frantuma Date: Tue, 5 Oct 2021 15:47:21 +0200 Subject: [PATCH] add jvm options to fix build in jdk16+ --- pom.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a4c3ddd83d..e140e0593a 100644 --- a/pom.xml +++ b/pom.xml @@ -66,10 +66,12 @@ maven-surefire-plugin - 2.22.0 + 2.22.2 -javaagent:${settings.localRepository}/org/jmockit/jmockit/${jmockit-version}/jmockit-${jmockit-version}.jar + -XX:+IgnoreUnrecognizedVMOptions + --add-opens=java.base/java.util=ALL-UNNAMED