You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2012/12/06 16:37:09 UTC

[jira] [Commented] (FELIX-3803) Bundle#getResource always try to resolve the bundle

    [ https://issues.apache.org/jira/browse/FELIX-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13511462#comment-13511462 ] 

Guillaume Nodet commented on FELIX-3803:
----------------------------------------

The same problem also concerns Bundle#findEntries
                
> Bundle#getResource always try to resolve the bundle
> ---------------------------------------------------
>
>                 Key: FELIX-3803
>                 URL: https://issues.apache.org/jira/browse/FELIX-3803
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>            Reporter: Guillaume Nodet
>
> I think the behavior should be similar to Bundle#loadClass, i.e. only try to resolve the bundle if the bundle is in the INSTALLED state.  The spec says:  "If this bundle’s state is INSTALLED, this method must attempt to resolve this bundle before attempting to get the specified resource. "

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira