@Aspect is not @Inherited, thus @Configuration subclasses fail conditional tests as to whether a @Configuration bean is annotated with @Aspect. This means that as
SJC-191 (remove all aop functionality other than @AspectJAutoProxy) is implemented, @Aspect-annotated @Configurations (aka inline advice methods) ceases to function.
The goal of this task is to see if we can dynamically introduce the bytecode (via ASM) to the generated subclass to make the following assertion pass:
assert cglibSubclass.isAnnotationPresent(Aspect.class);
The other option here would be to actually get @Aspect to be marked with @Inherited. Andy Clement is looking into this, but that may naturally take some time as it's a change to the AspectJ codebase.
Note: The AspectJ team have (for now) rejected the idea of making @Aspect inherited, so this workaround approach will continue for the forseeable future.