[
https://issues.apache.org/jira/browse/FELIX-3803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532438#comment-13532438
]
Guillaume Nodet commented on FELIX-3803:
----------------------------------------
Yes, the goal is to avoid grabbing the lock for no reason.
> 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
> Assignee: Guillaume Nodet
> Fix For: framework-4.2.0
>
>
> 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