Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16759

Provide assignability of raw bean type to parameterized required type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.Beta1
    • None
    • cdi
    • None

      CDI specification 1.1 in 5.2.4 Assignability of raw and parameterized types says:
      "A raw bean type is considered assignable to a parameterized required type if the raw types are identical and all type parameters
      of the required type are either unbounded type variables or java.lang.Object."

      This is a clarification added after discussion in https://issues.jboss.org/browse/CDI-304. It should work the same way in CDI 1.0.

            scabanovich Viacheslav Kabanovich (Inactive)
            scabanovich Viacheslav Kabanovich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: