Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [aspectj-users] decalare parents: implementing generic interface

Hello,

 

bug reported:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=133307

 

Vincenz

 


Von: aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] Im Auftrag von Andy Clement
Gesendet: Mittwoch, 22. März 2006 12:24
An: aspectj-users@xxxxxxxxxxx
Betreff: Re: [aspectj-users] decalare parents: implementing generic interface

 

bug.  I dont think we are checking that kind of 'circular/recursive' reference.

Andy.

On 22/03/06, Vincenz Braun < vb@xxxxxxxxx> wrote:

 

Hello,

 

I have the following construct:

 

public interface TestIF<T extends TestIF> {}

public class TestClass {}

public aspect TestAspect {

 

            declare parents: TestClass implements TestIF<TestClass>;

}

 

The later aspect does not compile, although

public class TestClass implements TestIF<TestClass> {

}

is a valid class. Are there any limitations on declare parents with generic
types?

 

 

 

Thanks a lot,

Vincenz


_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users

 


Back to the top