[ https://issues.apache.org/jira/browse/FELIX-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall closed FELIX-66. -------------------------------- > BundleContext must throw an IllegalStateException if used and the bundle is > not in either one of the STARTING, STOPPING, or ACTIVE state > ---------------------------------------------------------------------------------------------------------------------------------------- > > Key: FELIX-66 > URL: https://issues.apache.org/jira/browse/FELIX-66 > Project: Felix > Issue Type: Task > Components: Framework > Reporter: Karl Pauls > Assigned To: Karl Pauls > Fix For: 0.8.0 > > > From the javadoc of org.osgi.framework.BundleContext: > -- > The BundleContext object is only valid during the execution of > its context bundle; that is, during the period from when the context bundle > is in the STARTING, STOPPING, and > ACTIVE bundle states. If the BundleContext > object is used subsequently, an IllegalStateException must be > thrown. > -- -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.