[jboss-jira] [JBoss JIRA] Created: (JBAOP-801) incorrect fieldinfo rebuilding due to unmatching order between the instance advisor and class advisor

Rick Dong (JIRA) jira-events at lists.jboss.org
Sat Nov 13 21:15:43 EST 2010


incorrect fieldinfo rebuilding due to unmatching order between the instance advisor and class advisor 
------------------------------------------------------------------------------------------------------

                 Key: JBAOP-801
                 URL: https://jira.jboss.org/browse/JBAOP-801
             Project: JBoss AOP
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.2.1.Alpha3
            Reporter: Rick Dong
            Priority: Critical


Using instrument class with pre-defined field point cut in an remoting application, all the information about the fieldinfo (read/write) is lost after invoking a method remotely.  This seems to be a bug in the field info rebuilding process in that the 
GeneratedClassAdvisor.easyFinalizeFieldChainForInstance(Map<Joinpoint, Interceptor[]> oldFieldInfos, FieldInfo[] classFieldInfos, FieldInfo[] newFieldInfos, OldInfoMaps oldInfoMapInstance) simply copying fieldinfos by iterating through
on the newFieldInfos, but the order of the items in the two arrays newFieldInfos and classFieldInfos are not the consistent in which classFieldInfos would have all the field listed based on the index in ascending order and newFieldInfos have random order.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list