[jboss-osgi-issues] [JBoss JIRA] Commented: (JBOSGI-112) Investigate Exception in SynchronousBundleListener

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Tue Jul 14 10:08:30 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBOSGI-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12476222#action_12476222 ] 

Thomas Diesler commented on JBOSGI-112:
---------------------------------------

 BundleA registers a {@link SynchronousBundleListener} which throws an exception.
 Start of BundleB is expected to fail. 

Running org.jboss.test.osgi.jbosgi112.OSGI112TestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.511 sec

All frameworks behave consistently in the same way, such that they do not throw the expected BundleException

> Investigate Exception in SynchronousBundleListener
> --------------------------------------------------
>
>                 Key: JBOSGI-112
>                 URL: https://jira.jboss.org/jira/browse/JBOSGI-112
>             Project: JBoss OSGi
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Thomas Diesler
>            Assignee: Thomas Diesler
>             Fix For: JBossOSGi 1.0.0 Beta3
>
>
> http://www.osgi.org/javadoc/r4v41/org/osgi/framework/SynchronousBundleListener.html
> "Unlike normal BundleListener objects, SynchronousBundleListeners are synchronously called during bundle lifecycle processing. The bundle lifecycle processing will not proceed until all SynchronousBundleListeners have completed. SynchronousBundleListener objects will be called prior to BundleListener objects. "
> IMHO, an extender that registers a SynchronousBundleListener should be able to cause the Bundle.start() operation to fail.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-osgi-issues mailing list