Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] introductions and inheritance

hi george,

download the latest build. seems to work so far.

ciao robertj

I have just run through your initial test case description using the latest development build (details in Adrian's previous note to the list) and the original problem does not appear to occur anymore. If possible, can you confirm that an upgrade fixes things for you ?


 > On first reading, this sounds like it *might* be related to a bug that
 > was fixed in CVS a little while ago (see Bugzilla reports
 > https://bugs.eclipse.org/bugs/show_bug.cgi?id=50939 and
 >  https://bugs.eclipse.org/bugs/show_bug.cgi?id=43972).
could be indeed the same bug. but it seems a bit more serious cause
it happens with the ajc too.

i tried the following workaroud (to no avail thou)
public aspect Implementor{

  public interface IFoo_A extends IFoo;
  public interface IFoo_B extends IFoo;

  declare parents: BaseBar implements IFoo_A;
  declare parents: DefaultBar implements IFoo_B;}

i guess the only solution would be to do the implementation
code into IFoo_A and IFoo_B instead of IFoo. which would of
coursse would be code duplication. and we dont want that, or do we?
naaah!

ciao robertj

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Back to the top