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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 2.0.0.Beta4
    • 1.1.5.Final, 2.0.0.Alpha1
    • None
    • None

      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.

            rhn-engineering-jharting Jozef Hartinger
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: