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] Closed: (XBEAN-161) BundleAssignableClassFinder should look for resources without adding a leading '/'
Date Mon, 27 Dec 2010 01:28:45 GMT

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


Mime
View raw message