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 list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to