Community
Participate
Working Groups
Similar to other 'well known' local variables like thisJoinPoint, the eclipse 1.8 compiler is complaining that thisAspectInstance is not initialized when it is a variable that we (AspectJ) look after. The fix is the same as for thisJoinPoint et al - just special case this well known variable. This did not surface in earlier testing because all the thisAspectInstance tests (in the 1.6.12 testsuite) compile with -1.5 - it is only when compiling with -1.8 that the extra checking is done. I'm copying the 1.6.12 tests into the 1.8.4 suite and having them specify -1.8.
Fixed with checks in AjProblemReporter.uninitializedLocalVariable()