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

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Critical
    • Resolution: Done
    • 1.1.5.Final, 2.0.0.Alpha1
    • 2.0.0.Beta4
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: