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.