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

expensive check in EventUtil#checkEventBindings

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.8
    • Fix Version/s: 1.6.0
    • Component/s: Core, TCK
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: