[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-7988) CDI tools model is not updated after quick fix.

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Dec 22 17:45:17 EST 2010


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

Alexey Kazakov updated JBIDE-7988:
----------------------------------

    Priority: Critical  (was: Major)


> CDI tools model is not updated after quick fix.
> -----------------------------------------------
>
>                 Key: JBIDE-7988
>                 URL: https://issues.jboss.org/browse/JBIDE-7988
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi (jsr-299)
>    Affects Versions: 3.2.0.Beta2
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>            Priority: Critical
>             Fix For: 3.2.0.CR1
>
>
> 1. Create the following class in CDI-enabled project:
> class Goose_Broken {
>    @Inject
>    public Goose_Broken(String foo) {}
>    @Inject
>    public Goose_Broken(String foo, Double bar) {}
> }
> 2. Build the project. There is two error markers on the injections because a bean can have only one constructor annotated @Inject.
> 3. Double click on any error marker. Select "Delete @Inject annotation from all the constructors but....". Press finish.
> 4. Now there is the only one @Inject in the class but error markers didn't disappear. It's a problem of CDI model. It still has two @Inject methods. Try to modify the file and Ctrl+S. It helps to get rid of the markers. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list