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

Lukáš Valach (JIRA) issues at jboss.org
Fri Aug 4 05:09:00 EDT 2017


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

Lukáš Valach closed JBIDE-24657.
--------------------------------


Verified in GA-v20170801-2052-B682, validation behaves correctli in both CDI 1.0 and CDI 1.2.

> 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
>            Assignee: Jeff MAURY
>             Fix For: 4.5.0.Final
>
>
> 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