[jbosstools-issues] [JBoss JIRA] (JBIDE-11460) If an injection point with unproxyable type is resolved to a producer bean with normal type, it is a deployment error

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed May 23 19:05:17 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-11460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-11460:
-----------------------------------

    Fix Version/s: 3.4.x
                       (was: 3.3.0.CR1)

    
> If an injection point with unproxyable type is resolved to a producer bean with normal type, it is a deployment error
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-11460
>                 URL: https://issues.jboss.org/browse/JBIDE-11460
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: CDI
>    Affects Versions: 3.3.0.Beta1
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.4.x
>
>
> Validation is implemented for a class bean, and partially for a producer when its type is an array or primitive.
> The following case is not covered by validation.
> {code}
> public class TestBean {
>     @Inject
>     String s;
>     @Produces
>     @RequestScoped
>     String getString() {
>         return "x";
>     }
> }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list