[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Static crosscutting
|
I think that's a bug; inter-type declarations should not be hiding existing public declarations like that. I'd encourage you to submit a bug report.
I also like your workaround; until this is fixed I will undoubtedly need to use it too.
Ron
Ron Bodkin
Chief Technology Officer
New Aspects of Security
m: (415) 509-2895
> ------------Original Message-------------
> From: "Eric Jain" <Eric.Jain@xxxxxxxxxx>
> To: <aspectj-users@xxxxxxxxxxx>
> Date: Mon, Sep-29-2003 0:45 AM
> Subject: Re: [aspectj-users] Static crosscutting
>
> > All you need to do is to add those methods to your interface too.
>
> Thanks, that is in fact what I was doing. Unfortunately the AspectJ
> compiler was doing something funny to the interface. When viewed with
> Eclipse's class file viewer, all methods had the following data
> attached:
>
> Attribute: Name: Synthetic Length: 0
>
> Both Eclipse and plain javac would then complain if I used any of these
> methods, as if they were made invisible. I have no idea what is going on
> here, but one workaround I found is to simply not advise the original
> interface, but create a second, hidden interface that extends the
> original interface, and advise that instead.
>
> --
> Eric Jain
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>