You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Karl Pauls (Jira)" <ji...@apache.org> on 2021/06/21 21:35:00 UTC

[jira] [Closed] (FELIX-6287) Support running on module path

     [ https://issues.apache.org/jira/browse/FELIX-6287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Pauls closed FELIX-6287.
-----------------------------

> 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
>            Assignee: Karl Pauls
>            Priority: Major
>             Fix For: framework-7.0.1
>
>         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)