Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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





Back to the top