diff options
author | gjoranv <gv@oath.com> | 2018-10-17 13:09:39 +0200 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2019-01-21 15:09:23 +0100 |
commit | 62172ca685a7c2bbe2227b033f4e1c6f10e4ccab (patch) | |
tree | 493eaede2bd080750e2eb4012bf8ac913e9be787 /jdisc_core_test | |
parent | a25ee7c6f714c41d8f076a0ef567de20ff239e36 (diff) |
Open necessary packages to the unnamed module.
- To avoid warnings due to Felix accessing non-public apis with
reflection.
Diffstat (limited to 'jdisc_core_test')
-rw-r--r-- | jdisc_core_test/integration_test/pom.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jdisc_core_test/integration_test/pom.xml b/jdisc_core_test/integration_test/pom.xml index e31fa122232..82fb8750c00 100644 --- a/jdisc_core_test/integration_test/pom.xml +++ b/jdisc_core_test/integration_test/pom.xml @@ -243,8 +243,11 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> - <!-- Allow installing fragment bundles, see felix.framework:ExtensionManager.addExtensionBundle --> + <!-- java.lang + java.net are opened to avoid "WARNING: Illegal reflective access ... "--> + <!-- jdk.internal.loader is opened to allow installing extension bundles, see felix.framework:ExtensionManager.addExtensionBundle --> <argLine> + --add-opens=java.base/java.lang=ALL-UNNAMED + --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED </argLine> </configuration> |