Uploaded image for project: 'XBean'
  1. XBean
  2. XBEAN-161

BundleAssignableClassFinder should look for resources without adding a leading '/'

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.8
    • 3.8
    • finder
    • None

    Description

      The javadoc for Class.getResource makes it clear that ClassLoader.getResource expects paths to not start with '/'. Equinox doesn't seem to mind, but felix won't search at least the framework bundle for a resource path starting with '/'. For instance, java.util.HashMap or /java/util/HashMap.class won't be found.

      Attachments

        Activity

          People

            djencks David Jencks
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: