Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6287

Support running on module path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • framework-6.0.3
    • framework-7.0.1
    • None
    • None

    Description

      Currently, when running the framework on the module path, I get the following exception:

      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
      

      and

      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.felix.framework.URLHandlersStreamHandlerProxy
      

      Make sure the framework works properly on the module-path as well

      Attachments

        1. module-path-issue-1.txt
          5 kB
          Florian Brunner
        2. module-path-issue-2.txt
          4 kB
          Florian Brunner

        Activity

          People

            karlpauls Karl Pauls
            puce Florian Brunner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: