Gerhard Petracek created OWB-798:
------------------------------------

             Summary: 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
             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

Reply via email to