Bug 63177

Summary: related to bug 53028, which is correct compiler or documentation?
Product: [Tools] AspectJ Reporter: Laurie Hendren <hendren>
Component: CompilerAssignee: Adrian Colyer <adrian.colyer>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 1.2   
Target Milestone: 1.2.1   
Hardware: All   
OS: All   
Whiteboard:

Description Laurie Hendren CLA 2004-05-20 06:20:18 EDT
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.
Comment 1 Andrew Clement CLA 2004-08-09 06:27:21 EDT
Resolved under bug 53028, the docs were incorrect - the compiler is right.

*** This bug has been marked as a duplicate of 53028 ***
Comment 2 Adrian Colyer CLA 2004-10-21 04:32:47 EDT
Fix released as part of AspectJ 1.2.1