Community
Participate
Working Groups
java.lang.ArrayIndexOutOfBoundsException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InferenceContext18.checkExpression(InferenceContext18.java:755) at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InferenceContext18.moreSpecificMain(InferenceContext18.java:710) at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InferenceContext18.isMoreSpecificThan(InferenceContext18.java:658) at org.aspectj.org.eclipse.jdt.internal. ... ldJob.run(AutoBuildJob.java:235) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Compile error: ArrayIndexOutOfBoundsException thrown: 0
Any relation to bug 468886 I wonder, similar area of the code.
Yes, I guess it is the same issue.
Searching JDT bugs revealed this very similar sounding one, bug 469587, which is a dup of bug 461004. I've run the testcode in these bugs against current AspectJ and they don't fail - so we already include the fixes. So I guess i should confirm what version you are running? If this happens to you again and you are in eclipse can you confirm the version of AspectJ/AJDT you are using. It is possible you are on a release version of AJDT that has the problem whereas the latest AJDT snapshots would not, because they have an up to date AspectJ.