Community
Participate
Working Groups
In bug 53028 it was reported that the documentation of void return type for around advice does not match the behaviour of the documentation. This was reported as a 1.1.1 bug, but it is still true for 1.2. We have stumbled across this inconsitency ourselves. Which is correct, the documentation or the compiler? The documentation says: "Whatever value the join point returned will be returned by the around advice". The compiler reports a type mismatch. Error applying to join point that doesn't return void. Which is correct, the compiler or the documentation? This seems to be a relatively big change and needs to be highlighted somehow.
Resolved under bug 53028, the docs were incorrect - the compiler is right. *** This bug has been marked as a duplicate of 53028 ***
Fix released as part of AspectJ 1.2.1