[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Aspect instance on JDK 1.5 annotation

Title: [aspectj-users] Aspect instance on JDK 1.5 annotation

Hi all,

I'm currently trying to get an aspect instance for an object instance with specific JDK 1.5 annotation.

Exemple :

        Create an aspect instance for all object like that :

        @Entity
        public class myClass { ... }

I try

        public aspect myAspect perthis(within(@Entity *)) {...}

but this aspect execution lead to a java.lang.StackOverflowError exception.

Is it possible ?

Thanks.

        Mickaël