From 9b86c3f6b4a462cec70b215821613baabbbef717 Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Fri, 23 Apr 2021 16:34:27 +0300 Subject: [PATCH 1/2] Specify release in maven-compiler-plugin configuration --- pom.xml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 78f85e4f5bf17..f02f8c081cff6 100644 --- a/pom.xml +++ b/pom.xml @@ -1667,13 +1667,30 @@ flexible messaging model and an intuitive client API. - jdk11-tests + jdk11 [11,) + + + ${maven.compiler.target} + --add-opens java.base/jdk.internal.loader=ALL-UNNAMED + + + + + maven-compiler-plugin + + + ${maven.compiler.release} + + + + + coverage From 1e3053a80628eb18447e285e890c9a22738a757a Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Sun, 25 Apr 2021 19:57:54 +0300 Subject: [PATCH 2/2] Use "8" instead of "1.8" --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index f02f8c081cff6..616751b3dd166 100644 --- a/pom.xml +++ b/pom.xml @@ -77,8 +77,8 @@ flexible messaging model and an intuitive client API. - 1.8 - 1.8 + 8 + 8 **/Test*.java,**/*Test.java,**/*Tests.java,**/*TestCase.java