[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9305) CDI Validation problem markers should be removed when CDI support is disabled

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Jul 6 14:07:23 EDT 2011


CDI Validation problem markers should be removed when CDI support is disabled
-----------------------------------------------------------------------------

                 Key: JBIDE-9305
                 URL: https://issues.jboss.org/browse/JBIDE-9305
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: cdi (jsr-299)
    Affects Versions: 3.3.0.M2
            Reporter: Alexey Kazakov
            Assignee: Alexey Kazakov
             Fix For: 3.3.0.M3


EXECUTE: Create a CDI project (with CDI support enabled)
EXECUTE: Add any CDI problem. For instance:
{code}
public class Test {

    @Inject String foo;

    @Produces
    public String foo1() {
        return "";
    }

    @Produces
    public String foo2() {
        return "";
    }
}
{code}
ASSERT: There is a CDI problem marker on @Inject String foo;
EXECUTE: Disable CDI support in Project Properties page. Clean/re-build the project.
ASSERT: The CDI problem disappeared.

--
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