Community
Participate
Working Groups
Since @AspectJ is usable only in Java5+, it is reasonable for users to expect that ProceedingJoinPoint.proceed(Object...) should be supported instead of ProceedingJoinPoint.proceed(Object[]). I see that this restriction may be due to JoinPointImpl that implements ProceedingJoinPoint. Since it must be compatible with versions before Java5, the varargs feature may not be used. I wonder if the following rearrangement of interfaces and classes will help? ProceedingJoinPoint extends JoinPoint (as is currently) JoinPointImpl implements JoinPoint (not ProceedingJoinPoint) ProceedingJoinPointImpl extends JoinPointImpl implements ProceedingJoinPoint
Commenting on my comment. My assertion that ProceedingJoinPoint is used in Java5 isn't quite accurate. In Spring, for example, the schema-style AOP is useful in pre-Java5, yet may use ProceedingJoinPoint. I guess this bug may be marked "WONTFIX", unless we want to take the route of aspectjrt.jar vs. aspectjrt5.jar and have two different versions of ProceedingJoinPoint.