glassfish
  1. glassfish
  2. GLASSFISH-16115

WELD A Class in a Normal (proxiable) scope that extends a class with final methods is NOT caught at deployment time

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 4.0
    • Component/s: cdi
    • Labels:
      None
    • Environment:

      Ubuntu Linux 10.04 x86, Sun JVM 1.6.0_24-b07

      Description

      Using javax.enterprise.inject.Instance, my application is able to inject objects at runtime. The qualifier annotations are defined properly (runtime retention, method/field/parameter/type targets, @Qualifier), with a single member string (value). The string value is binding (i.e. no @NonBinding annotation)

      The annotated, @Dependent class is also properly annotated.

      In Glassfish 3.0.1, this injection model works perfectly.

      In Glassfish 3.1, CDI (WELD) raises an exception that it can't satisfy the dependency.

      Clearly, all jars/WARs have "beans.xml" in the right place (else it wouldn't work with 3.0.1).

      All other (static) injection appears to be working normally.

        Activity

        drivera created issue -
        drivera made changes -
        Field Original Value New Value
        Attachment server-log-inject-failed-finest.tar.gz [ 45209 ]
        Nazrul made changes -
        Priority Blocker [ 1 ] Major [ 3 ]
        Sivakumar Thyagarajan made changes -
        Tags 3_1_1-review
        Sivakumar Thyagarajan made changes -
        Tags 3_1_1-review 3_1_1-next 3_1_1-review
        Sivakumar Thyagarajan made changes -
        Tags 3_1_1-next 3_1_1-review 3_1_1-review
        Sivakumar Thyagarajan made changes -
        Tags 3_1_1-review 3_1_1-review 3_1_1-scrubbed
        Sivakumar Thyagarajan made changes -
        Tags 3_1_1-review 3_1_1-scrubbed 3_1_1-scrubbed
        Sivakumar Thyagarajan made changes -
        Tags 3_1_1-scrubbed
        Sivakumar Thyagarajan made changes -
        Tags 3_1_1-next 3_1_1-scrubbed
        Sivakumar Thyagarajan made changes -
        Tags 3_1_1-next 3_1_1-scrubbed 3_1_1-next 3_1_1-scrubbed 3_1_2-review
        Sivakumar Thyagarajan made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Sivakumar Thyagarajan made changes -
        Tags 3_1_1-next 3_1_1-scrubbed 3_1_2-review 3_1_1-next 3_1_1-scrubbed
        Sivakumar Thyagarajan made changes -
        Tags 3_1_1-next 3_1_1-scrubbed 3_1_1-next 3_1_1-scrubbed 3_1_2-exclude
        jjsnyder83 made changes -
        Fix Version/s 4.0 [ 10970 ]
        Sivakumar Thyagarajan made changes -
        Assignee Sivakumar Thyagarajan [ sivakumart ] jjsnyder83 [ jjsnyder83 ]
        jwells made changes -
        Assignee jjsnyder83 [ jjsnyder83 ] jwells [ jwells ]
        jwells made changes -
        Summary WELD fails to locate @Dependent objects for injection via Instance<> - same code works perfectly in 1.0.1 (with Glassfish 3.0.1) WELD A Class in a Normal (proxiable) scope that extends a class with final methods is NOT caught at deployment time
        jwells made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            jwells
            Reporter:
            drivera
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: