[jboss-jira] [JBoss JIRA] (JBAOP-811) "$aop" (not advisable) synthetic method need to have bridge flag removed

James Livingston (JIRA) jira-events at lists.jboss.org
Mon Feb 27 01:32:37 EST 2012


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

James Livingston updated JBAOP-811:
-----------------------------------

    Attachment: JBAOP-811.diff


This patches all the places which call ClassAdvisor.notAdvisedMethodName() to generate the new method name
                
> "$aop" (not advisable) synthetic method need to have bridge flag removed
> ------------------------------------------------------------------------
>
>                 Key: JBAOP-811
>                 URL: https://issues.jboss.org/browse/JBAOP-811
>             Project: JBoss AOP
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: James Livingston
>         Attachments: JBAOP-811.diff
>
>
> When AOP creates a "$aop"-ending method it duplicates the existing method including flags and adjusts the name. This can result in the bridge flag being set for the new method even though there are no non-bridge methods with the same name, which can cause other code to get confused since it won't be able to find the original method with the same name (for example JBoss MDR).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list