[jboss-jira] [JBoss JIRA] (WFLY-8548) Annotations on overloaded methods are sometimes mixed up

Tomaz Cerar (JIRA) issues at jboss.org
Mon Apr 10 10:32:00 EDT 2017


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

Tomaz Cerar moved EJBTHREE-2306 to WFLY-8548:
---------------------------------------------

              Project: WildFly  (was: EJB 3.0)
                  Key: WFLY-8548  (was: EJBTHREE-2306)
             Workflow: GIT Pull Request workflow   (was: classic default workflow)
          Component/s: EJB
                           (was: ejb3)
    Affects Version/s:     (was: TBD EAP 6)
                           (was: TBD AS 7)


> Annotations on overloaded methods are sometimes mixed up
> --------------------------------------------------------
>
>                 Key: WFLY-8548
>                 URL: https://issues.jboss.org/browse/WFLY-8548
>             Project: WildFly
>          Issue Type: Bug
>          Components: EJB
>            Reporter: Olaf Fricke
>            Priority: Critical
>         Attachments: ApplicableMethodInformationTest.java
>
>
> If a stateless session bean contains overloaded methods  the annotations on these methods are sometimes mixed up. This happens for example, if two methods with the same name, the same return type and the same number of arguments exists. If both methods have different annotations or annotation values the values of the 'first' method are used.
> To make things more complicated, the 'first' method depends on the JVM in use.
> The bug lives in the class org.jboss.as.ejb3.deployment.ApplicableMethodInformation. I have already create a pull request to fix the issue: https://github.com/wildfly/wildfly/pull/9922



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


More information about the jboss-jira mailing list