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 2013/04/27 13:48:16 UTC

[jira] [Issue Comment Deleted] (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 updated OWB-798:
---------------------------------

    Comment: was deleted

(was: see https://issues.jboss.org/browse/CDI-369)
    
> 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.2.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira