[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 15:01:00 EDT 2017


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

Dos Moonen updated JBIDE-24657:
-------------------------------
    Affects Version/s: 4.5.0.AM1


> 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: Bug
>          Components: cdi
>    Affects Versions: 4.4.4.Final, 4.5.0.AM1
>            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