Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1089

Resource type is not checked against matching object in the Java EE component environment

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 1.1.5.Final, 2.0.0.Alpha1
    • Fix Version/s: 2.0.0.Beta4
    • Component/s: None
    • Labels:
      None

      Description

      3.6.1. Declaring a resource states: "If the matching object in the Java EE component environment is not of the same type as the producer field declaration, the container automatically detects the problem and treats it as a definition error."

      See TCK test org.jboss.cdi.tck.tests.implementation.simple.resource.broken.type.ResourceDefinitionWithDifferentTypeTest.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jharting Jozef Hartinger
                  Reporter:
                  mkouba Martin Kouba
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: