[jboss-jira] [JBoss JIRA] (WFLY-4877) Wrong default managed bean name of backing beans whose name starts with more than 2 capitals

Bauke Scholtz (JIRA) issues at jboss.org
Tue Jul 7 06:15:05 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-4877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087170#comment-13087170 ] 

Bauke Scholtz commented on WFLY-4877:
-------------------------------------

This violates JavaBeans spec.

> Wrong default managed bean name of backing beans whose name starts with more than 2 capitals
> --------------------------------------------------------------------------------------------
>
>                 Key: WFLY-4877
>                 URL: https://issues.jboss.org/browse/WFLY-4877
>             Project: WildFly
>          Issue Type: Bug
>          Components: CDI / Weld
>    Affects Versions: 9.0.0.Final
>            Reporter: Bauke Scholtz
>            Assignee: Stuart Douglas
>
> Trigger: http://stackoverflow.com/q/31263272/157882
> The below example bean whose unqualified name starts with more than two capitals
> {code}
> @Named
> public class FOOBean {}
> {code}
> is incorrectly registered with managed bean name of "fOOBean" instead of "FOOBean".
> It worked fine in 9.0.0.CR2.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list