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

assignability to parameterized required type

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.PFD, 1.2.Final
    • Fix Version/s: None
    • Component/s: Resolution
    • Labels:
      None

      Description

      2 days before the CDI-1.1 spec went PDF the following backward-incomatible change was made:

      -A raw bean type is considered assignable to a parameterized required type if the raw types are identical.

      + A raw bean type is considered assignable to a parameterized required type if the raw types are identical and all type parameters of the bean type are either unbounded type variables or java.lang.Object.

      This breaks a lot of projects and also is also not compatible with the JavaEE6 RI and the CDI-1.0 RI where this was explicitly allowed.

      This is a follow up to CDI-304.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                struberg Mark Struberg
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: