Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-548

FireAsyncException conflicting with CompletionStage definition

    XMLWordPrintable

Details

    • Clarification
    • Resolution: Obsolete
    • Major
    • 2.0 .Final
    • 2.0-EDR1
    • Events
    • None

    Description

      CompletionStage documentation says:

      if a stage's computation terminates abruptly with an (unchecked) exception or error, then all dependent stages requiring its completion complete exceptionally as well, with a

      Unknown macro: {@link CompletionException}

      holding the exception as its cause.

      On the other hand, the CDI spec suggests that if an observer notification fails, the CompletionStage fails with FireAsyncException directly (not wrapped within CompletionException). This creates a conflict as the CDI spec uses the CompletionStage API without fully conforming to its contract.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: