You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2015/04/15 14:45:58 UTC

[jira] [Reopened] (OWB-798) expensive check in EventUtil#checkEventBindings

     [ https://issues.apache.org/jira/browse/OWB-798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek reopened OWB-798:
----------------------------------

the check is still in place (and slow)

> expensive check in EventUtil#checkEventBindings
> -----------------------------------------------
>
>                 Key: OWB-798
>                 URL: https://issues.apache.org/jira/browse/OWB-798
>             Project: OpenWebBeans
>          Issue Type: Improvement
>          Components: Core, TCK
>    Affects Versions: 1.1.8
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>             Fix For: 1.5.0
>
>
> #checkEventBindings needs to do a check for the tck.
> however, we can do the same check (once) during bootstrapping before adding an observer.
> reason why we don't need this runtime check here:
> if an invalid event (with an invalid qualifier) is used in a dyn. #fire, we can ignore the invalid literal-instance because there is no corresponding observer (qualifiers of the observers would be checked during bootstrapping -> the startup would fail, if there is such an invalid observer).
> -> we just need the qualifier-check during bootstrapping and a workaround that this (broken) tck-test still passes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)