Hi Romain.
Is there any specific reason for you to use an AspectJ version from 2009? How about giving 1.8.5 a try?
Disregarding the version, do you think you can share your aspect(s) and target class(es), ideally a minimal example reproducing the problem? Even though you say it is unrelated, the Maven POM would also be interesting.
Hi list,I have an aspectJ-based codebase that currently uses 1.6.6 (compiler and runtime) and builds fine.Moving to 1.6.7+, I get errors related to inter-type declarations. Specifically, a library is being weaved by an aspect that declares a new parent for an existing class. This parent supplies three public methods that are called by other aspects and by Java code. These methods are found when using 1.6.6, but not by 1.6.7+ ("[ERROR] The method isReplicated() is undefined for the type Glyph").The build is managed by Maven, but running ajc directly (using the command output by mvn -X) yields the same results.Trying to restrict the build to the classes and aspects that relate only to the ITD (i.e. not the users of the introduced methods) works, even for 1.6.7+. The generated classes inherit the superclass as expected.Beyond using -showWeaveInfo (which is enabled but unfortunately yields no results), is there something I can do to pinpoint the problem?It's a bit hard to prune to a minimal test case but the code is available in case someone wants to take it for a spin.Apologies if I'm unclear and/or off-topic.Cheers!Romain_______________________________________________aspectj-users mailing listaspectj-users@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visithttps://dev.eclipse.org/mailman/listinfo/aspectj-users
|