geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Created: (XBEAN-161) BundleAssignableClassFinder should look for resources without adding a leading '/'
Date Mon, 27 Dec 2010 01:21:45 GMT
BundleAssignableClassFinder should look for resources without adding a leading '/'
----------------------------------------------------------------------------------

                 Key: XBEAN-161
                 URL: https://issues.apache.org/jira/browse/XBEAN-161
             Project: XBean
          Issue Type: Bug
          Components: finder
    Affects Versions: 3.8
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: 3.8


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message