[
https://issues.apache.org/jira/browse/FELIX-6287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17272476#comment-17272476
]
Karl Pauls commented on FELIX-6287:
-----------------------------------
The missing part would be to wrap Felix 7 with a module info that makes it
export its packages and requires jdk.unsupported. We have example for this in
atomos:
https://github.com/apache/felix-atomos/tree/master/atomos.examples/atomos.examples.jlink
> Support running on module path
> ------------------------------
>
> Key: FELIX-6287
> URL: https://issues.apache.org/jira/browse/FELIX-6287
> Project: Felix
> Issue Type: Improvement
> Affects Versions: framework-6.0.3
> Reporter: Florian Brunner
> Priority: Major
> Attachments: module-path-issue-1.txt, module-path-issue-2.txt
>
>
> Currently, when running the framework on the module path, I get the following
> exception:
> {code:java}
> Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make
> protected boolean java.net.URLStreamHandler.equals(java.net.URL,java.net.URL)
> accessible: module java.base does not "opens java.net" to module
> org.apache.felix.framework
> {code}
> and
> {code:java}
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class
> org.apache.felix.framework.URLHandlersStreamHandlerProxy
> {code}
> Make sure the framework works properly on the module-path as well
--
This message was sent by Atlassian Jira
(v8.3.4#803005)