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

Remove the 'No type variable in event objects' restriction

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1.PFD
    • Component/s: None
    • Labels:
      None

      Description

      CDI 10.1 states:

      An event object is an instance of a concrete Java class with no type variables. ... An event type may not contain a type variable.

      Which seems silly considering the container fires events with a type variable at startup. I can't think of any reason why this should be prohibited.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pmuir Pete Muir
                  Reporter:
                  swd847 Stuart Douglas
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: