felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Pauls (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-66) BundleContext must throw an IllegalStateException if used and the bundle is not in either one of the STARTING, STOPPING, or ACTIVE state
Date Wed, 03 May 2006 16:15:47 GMT
     [ http://issues.apache.org/jira/browse/FELIX-66?page=all ]
     
Karl Pauls resolved FELIX-66:
-----------------------------

    Fix Version: 0.8.0
     Resolution: Fixed

I resolved the issue in svn commit: r399344. All methods of BundleContextImpl now throw an
IllegalStateException if not in either of the STARTING, STOPPING, or ACTIVE state (as per
spec).

> 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: http://issues.apache.org/jira/browse/FELIX-66
>      Project: Felix
>         Type: Task

>   Components: Framework
>     Reporter: Karl Pauls
>     Assignee: 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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message