[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] behaviour of inter-type declarations and aspectpath and inheritance
|
Lendvai,
In what way is the method "not being called"? Are you calling it from advice? I have also run into a bug where library advice isn't being woven in (nd am trying to narrow it down).
This sounds like it might be a bug; two thoughts:
1) do try compiling everything in one pass without using injars (if it works as you expect in this way, then it's definitely a bug in library jars)
2) try to narrow the bug down to a reproducable test cast that demonstrates it. It sounds like you could just include IFormValidation and a single implementing class with a formValidate method to reproduce it. Then submit it as a bug report online (and post it here if you want to discuss further).
Ron Bodkin
Chief Technology Officer
New Aspects of Security
m: (415) 509-2895
> ------------Original Message-------------
> From: "Lendvai Attila" <Attila.Lendvai@xxxxxxxxxxx>
> To: <aspectj-users@xxxxxxxxxxx>
> Date: Fri, Oct-10-2003 2:55 AM
> Subject: [aspectj-users] behaviour of inter-type declarations and aspectpath and inheritance
>
>
> hello all,
>
> i have a strange behaviour that could be a bug.
>
> i have a web-framework project that ends up in a jar with aspects in it.
> i have an aspect in this jar called FormValidation.
>
> this aspect defines the following method:
>
> /**
> * This method should be overridden by subclasses to do the validation
> */
> public void IFormValidation.formValidate()
> {
> validatedOk = true;
> }
>
>
> i have overridden this method in ComponentGridScreen that is in the web
> framework jar. there it works fine...
>
> then i've derived a class from ComponentGridScreen in one of my projects
> and overridden formValidate() there, too and it does not get called?!
> the important difference is that this is compiled so that ajc gets
> web-framefork.jar with the FormValidation aspect as aspectpath.
>
> any ideas? could it be a bug?
>
> should i compile everything at once and do not use aspectpath?
>
> thanks in advance,
>
> 101
>
>
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>