You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2010/12/27 02:28:45 UTC

[jira] Closed: (XBEAN-161) BundleAssignableClassFinder should look for resources without adding a leading '/'

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

David Jencks closed XBEAN-161.
------------------------------

    Resolution: Fixed

rev 1052987

> 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.