Re: [aspectj-users] @DeclareMixin with inner class - Syntax ?

2013-04-01 Thread Andy Clement
Sorry I didn't reply earlier, I was at eclipsecon. I tried to scaffold your situation but it just works for me. Are you loadtime weaving or compile time weaving? Here is my complete code: === CiaWebThreadFactory.java package com.foo.bar; public class CiaWebThreadFactory { public static void ma

Re: [aspectj-users] AbstractMethodError calling method defined on class receiving ITD of same method

2013-04-01 Thread Andy Clement
Hmmm, I had to fix up some of your sample code there as it doesn't actually work as it is. (Is Go an annotation or an aspect - you've used it as both...) I changed it to this: === Foo.java @Go public class Foo { public void go() { System.out.println("go"); } } === Go.java import java.lang.annota

Re: [aspectj-users] AbstractMethodError calling method defined on class receiving ITD of same method

2013-04-01 Thread Matthew Adams
On Mon, Apr 1, 2013 at 10:13 AM, Andy Clement wrote: > Hmmm, I had to fix up some of your sample code there as it doesn't > actually work as it is. (Is Go an annotation or an aspect - you've used it > as both...) > > Sorry for the "Go" confusion. I was giving the shape of the problem and needed a

Re: [aspectj-users] AbstractMethodError calling method defined on class receiving ITD of same method

2013-04-01 Thread Matthew Adams
FTR, for anyone paying attention, I was attempting to introduce an ITD method marked as "private" in the declaring aspect into a class that had the same method but that was marked "public" and the compiler was not emitting a warning or an error, so it went bang at runtime. On Mon, Apr 1, 2013 at