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

FireAsyncException conflicting with CompletionStage definition

    XMLWordPrintable

Details

    • Clarification
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Out of Date
    • 2.0-EDR1
    • 2.0 .Final
    • 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: