You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pa...@apache.org on 2020/08/12 08:41:10 UTC
[felix-atomos] 01/01: Make felix substrate example work with graal
20.1.0
This is an automated email from the ASF dual-hosted git repository.
pauls pushed a commit to branch felix-native-graal-20.1.0
in repository https://gitbox.apache.org/repos/asf/felix-atomos.git
commit dd8d4704d04f8ba208e41b63ba393e989939d353
Author: Karl Pauls <kp...@adobe.com>
AuthorDate: Wed Aug 12 10:40:49 2020 +0200
Make felix substrate example work with graal 20.1.0
---
.../atomos.examples.substrate.felix/graal_class_config.json | 7 +++++++
atomos.examples/atomos.examples.substrate.felix/pom.xml | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/atomos.examples/atomos.examples.substrate.felix/graal_class_config.json b/atomos.examples/atomos.examples.substrate.felix/graal_class_config.json
index 7b064e2..d0b18f4 100644
--- a/atomos.examples/atomos.examples.substrate.felix/graal_class_config.json
+++ b/atomos.examples/atomos.examples.substrate.felix/graal_class_config.json
@@ -57,6 +57,13 @@
"allPublicFields" : true,
"allDeclaredFields" : true
},
+{
+ "name" : "java.net.URLStreamHandler",
+ "allPublicMethods" : true,
+ "allDeclaredMethods" : true,
+ "allPublicFields" : true,
+ "allDeclaredFields" : true
+ },
{
"name" : "org.apache.felix.log.Activator",
"allPublicConstructors" : true,
diff --git a/atomos.examples/atomos.examples.substrate.felix/pom.xml b/atomos.examples/atomos.examples.substrate.felix/pom.xml
index bad7377..a515abd 100644
--- a/atomos.examples/atomos.examples.substrate.felix/pom.xml
+++ b/atomos.examples/atomos.examples.substrate.felix/pom.xml
@@ -166,7 +166,7 @@
<buildArgs>
--allow-incomplete-classpath
--no-fallback
- --initialize-at-build-time=org.apache.felix.atomos.runtime,org.apache.felix.atomos.launch,org.apache.felix.atomos.impl,javax.servlet,org.apache.felix.framework,org.osgi.framework,org.apache.felix.framework.util,org.apache.felix.service.command.Converter
+ --initialize-at-build-time=org.apache.felix.atomos.runtime,org.apache.felix.atomos.launch,org.apache.felix.atomos.impl,javax.servlet,org.apache.felix.framework.util.Util,org.apache.felix.framework.util.SecureAction,org.apache.felix.framework.BundleWiringImpl,org.apache.felix.framework.BundleRevisionImpl,org.apache.felix.service.command.Converter
-H:ReflectionConfigurationFiles=${project.basedir}/graal_class_config.json
-H:ResourceConfigurationFiles=${project.basedir}/graal_resource_config.json
-H:DynamicProxyConfigurationFiles=${project.basedir}/graal_proxy_config.json