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 <tim.webs...@gmail.com> 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
> aspectj-users@eclipse.org
> 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
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to