From 5256d173635e08fd5f65b73e871a55544468f03e Mon Sep 17 00:00:00 2001 From: Karl Pauls Date: Wed, 9 May 2018 18:26:39 +0200 Subject: [PATCH] Make osgi testing work with java>=9 by updating to felix framework 5.6.10 (#7923) Motivation: Currently, the testing-osgi is set to skip if run with java>=9. That is not necessary when using a newer version of Felix. Modification: Update to Felix framework 5.6.10 (which has better jpms support), add some more --add-opens to not have WARN messages, and remove the skipOsgiTestsuite setting from the parent pom. Result: OSGi tests run and pass on java>=9. --- pom.xml | 1 - testsuite-osgi/pom.xml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index f3cd335311..062beb6084 100644 --- a/pom.xml +++ b/pom.xml @@ -78,7 +78,6 @@ - true true 3.0.0-M1 diff --git a/testsuite-osgi/pom.xml b/testsuite-osgi/pom.xml index 8465852500..a2e6b157ea 100644 --- a/testsuite-osgi/pom.xml +++ b/testsuite-osgi/pom.xml @@ -30,7 +30,7 @@ 4.9.1 - --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED + --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED @@ -209,7 +209,7 @@ org.apache.felix org.apache.felix.framework - 5.4.0 + 5.6.10 test