[
https://issues.apache.org/jira/browse/FELIX-2584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12915784#action_12915784
]
Eduardo Tsen commented on FELIX-2584:
-------------------------------------
The code changes seem fine.
I'm not sure about the logging strategy, since FrameworkEvents should be mapped
by a logging service.
Thank you for the patch.
> No FrameworkEvent.ERROR on unchecked exception in event listener
> ----------------------------------------------------------------
>
> Key: FELIX-2584
> URL: https://issues.apache.org/jira/browse/FELIX-2584
> Project: Felix
> Issue Type: Bug
> Components: Framework, Specification compliance
> Affects Versions: framework-3.0.2
> Reporter: Eduardo Tsen
> Assignee: Richard S. Hall
> Fix For: framework-3.2.0
>
>
> The OSGi-Spec states on page 116:
> "The Framework must publish a FrameworkEvent.ERROR if a callback to an event
> listener generates an unchecked exception - except when the callback happens
> while delivering a FrameworkEvent.ERROR (to prevent an infinite loop)."
> The EventDispatcher, in contrast, just logs those exceptions with no further
> action taken.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.