Hi Andy, I'm struggling to reproduce this in a separate project, although it still occurs in the original project.
Not sure what to try next...any ideas? Tim On Fri, May 8, 2015 at 4:07 PM, Andy Clement <[email protected]> wrote: > Modifiers are played with in a number of places, if you can create a bit > of sample code that shows the problem I’m happy to look into it. I tried to > create the problem but couldn’t. > > What does the javap -verbose output look like for the woven result (rather > than the decompiler you are using). > > cheers, > Andy > > On May 8, 2015, at 6:27 AM, Tim Webster <[email protected]> wrote: > > > Hi, > > In our woven aspectJ code, it seems that bridge methods are being > incorrectly marked as interfaces. > > for example, in the following (decompiled) class here is the non-woven > compareTo() method: > > public int compareTo(TopicId topicId) > { > DocumentTypeId documentTypeId = (DocumentTypeId)topicId; > int result = super.compareTo(topicId); > if(0 == result) > result = doCompareTo(documentTypeId); > return result; > } > > public volatile int compareTo(Object x0) > { > return compareTo((TopicId)x0); > } > > > > *And here is the woven version:* > > > public int compareTo(TopicId topicId) > { > DocumentTypeId documentTypeId = (DocumentTypeId)topicId; > int result = super.compareTo(topicId); > if(result == 0) > result = doCompareTo(documentTypeId); > return result; > } > > public volatile *interface* int compareTo(Object obj) > { > return compareTo((TopicId)obj); > } > > > This is causing some static analysis tools to fail, so it's a problem. > > Does anyone have any idea where I can start with investigating why this > would be happening? > > Thanks, > > > > > > _______________________________________________ > aspectj-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > > > _______________________________________________ > aspectj-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/aspectj-users >
_______________________________________________ aspectj-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/aspectj-users
