[jbosstools-issues] [JBoss JIRA] (JBIDE-24657) CDI 1.1 and above should ignore static and private final methods when checking for unproxyable beans

Dos Moonen (JIRA) issues at jboss.org
Mon Jul 10 05:41:01 EDT 2017


Dos Moonen created JBIDE-24657:
----------------------------------

             Summary: CDI 1.1 and above should ignore static and private final methods when checking for unproxyable beans
                 Key: JBIDE-24657
                 URL: https://issues.jboss.org/browse/JBIDE-24657
             Project: Tools (JBoss Tools)
          Issue Type: Feature Request
          Components: cdi
    Affects Versions: 4.4.4.Final
            Reporter: Dos Moonen


CDI 1.0 prohibits "classes which are declared final or have final methods" being normal scoped beans.
CDI 1.1 relaxes it to "classes which have non-static, final methods with public, protected or default visibility"

JBoss Tools adds a warning for all finals methods, regardless of the project's CDI version.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list