[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Static crosscutting
|
Eric, I'm very glad you emailed about this.
See also
http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg00517.html
In the bug, mention the test case in CVS:
org.aspectj/modules/tests/bugs/interfaceDefinition
Forgive me the ...
<obvious-encouragement>
It's really important to submit bugs when you find problems like
this. It's great that you found a workaround, but if users
sidestep compiler bugs without telling us, we won't have a
chance to fix them, and other users will be troubled by them.
</obvious-encouragement>
Thanks!
Wes
Ron Bodkin wrote:
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
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users