Karl Pauls created FELIX-5676:

             Summary: Uninstall should throw an exception if called while the 
bundle is starting or stopping
                 Key: FELIX-5676
                 URL: https://issues.apache.org/jira/browse/FELIX-5676
             Project: Felix
          Issue Type: Bug
          Components: Framework
    Affects Versions: framework-5.6.6
            Reporter: Karl Pauls
            Assignee: Karl Pauls
             Fix For: framework-5.6.8

If uninstall is called on a bundle from within the thread that is currently 
starting or stopping the bundle (i.e., the bundle is trying to change its own 
state while holding its bundle lock) we currently just let the uninstall 

That can cause the bundle to be delivered to other bundles as starting or 
stopping or active while actually being uninstalled already. Instead, we should 
detect this situation and throw an IllegalStateException instead (as per spec).

This message was sent by Atlassian JIRA

Reply via email to