You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2024/01/19 23:22:00 UTC

[jira] [Commented] (LANG-1727) EventListenerSupport doesn't document ordering of events

    [ https://issues.apache.org/jira/browse/LANG-1727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17808826#comment-17808826 ] 

Elliotte Rusty Harold commented on LANG-1727:
---------------------------------------------

There is a test that verifies ordering of listeners, and they appear in the expected order, first in, first fired. Just need to doc it.

> EventListenerSupport doesn't document ordering of events
> --------------------------------------------------------
>
>                 Key: LANG-1727
>                 URL: https://issues.apache.org/jira/browse/LANG-1727
>             Project: Commons Lang
>          Issue Type: Bug
>            Reporter: Elliotte Rusty Harold
>            Priority: Major
>
> org.apache.commons.lang3.event.EventListenerSupport needs to document and test for:
> 1. The synchronicity of events; i.e. they're not fired in separate threads simultaneously
> 2. The ordering of events
> Adding A, B, and C to EventListenerSupport shouldn't leave devs wondering whether the events are fired A, B, C or B, C, A or C, B, A.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)