[
https://issues.apache.org/jira/browse/FELIX-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved FELIX-4317.
------------------------------------
Resolution: Fixed
Committing to https://svn.apache.org/repos/asf/felix/trunk ...
M scr/src/main/java/org/apache/felix/scr/impl/Activator.java
M
scr/src/main/java/org/apache/felix/scr/impl/BundleComponentActivator.java
Committed r1543754
> SCR implementation should avoid using bundleContext.getBundle()
> ---------------------------------------------------------------
>
> Key: FELIX-4317
> URL: https://issues.apache.org/jira/browse/FELIX-4317
> Project: Felix
> Issue Type: Improvement
> Components: Declarative Services (SCR)
> Affects Versions: scr-1.8.0
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: scr-1.8.2
>
>
> The reason is that the bundle context can be invalidated by the framework, so
> keeping the bundle as a member property avoids running into such exceptions
--
This message was sent by Atlassian JIRA
(v6.1#6144)