Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Java 9+ modules questions

All documentation I can find concerning JMS support in AspectJ 1.9.x is
this: https://www.eclipse.org/aspectj/doc/released/README-190.html

I also see a few unimplemented features:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=526242
https://bugs.eclipse.org/bugs/show_bug.cgi?id=526243
https://bugs.eclipse.org/bugs/show_bug.cgi?id=526244

After adding support for 'ajc --module-path' to AspectJ Maven plugin I
experimented a bit with multi-module projects and found that it seems to
be impossible to do binary weaving by putting any AspectJ module (I mean
both Maven and JMS module with module-info.java) on the aspect-path. In
the read-me mentioned above there is just an example of weaving the
other way around, i.e. putting the target application on the aspect
module's in-path. Is that due to the missing implementation of #526243?
It does not help much if Ajc can compile projects with module-info files
but does not respect JMS semantics in multi-module projects.

Maybe I am doing something wrong. Are there any instructive tests in the
AspectJ source code you could point me to? The AspectJ module structure
is complicated, it is kind of difficult to find anything there.

-- 
Alexander Kriegisch
https://scrum-master.de


Back to the top