Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-798

expensive check in EventUtil#checkEventBindings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.8
    • 1.6.0
    • Core, TCK
    • None

    Description

      #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.

      Attachments

        Activity

          People

            struberg Mark Struberg
            gpetracek Gerhard Petracek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: