Community
Participate
Working Groups
org.aspectj.weaver.BCException at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1095) at org.aspectj.ajdt.internal.compiler.AjCompilerAdapter.weave(AjCompilerAdapter.java:300) at org.aspectj.ajdt.internal.compiler.AjCompilerAdapter.afterCompiling(AjCompilerAdapter.java:178) at org.aspectj.ajdt.internal.compiler.CompilerAdapter.ajc$afterReturning$org_aspectj_ajdt_internal_compiler_CompilerAdapter$2$f9cc9ca0(CompilerAdapter.aj:70) at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:367) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performCompilation(AjBuildManager.java:811) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuild(AjBuildManager.java:254) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.incrementalBuild(AjBuildManager.java:163) at org.aspectj.ajde.internal.CompilerAdapter.compile(CompilerAdapter.java:117) at org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread.run(AspectJBuildManager.java:191) BCException thrown: Can't find bcel delegate for shapes.Point type=class org.aspectj.weaver.ReferenceType when weaving classes when weaving when incrementally building BuildConfig[/Users/sim/Documents/Courses/2006_Term2/CPSC411/ProblemSet1/.metadata/.plugins/org.eclipse.ajdt.core/ProblemSet1.generated.lst] #Files=9
Passing over to the compiler. Can you provide a testcase for this?
bug 119882, bug 122096 and this bug are reporting the same error, although they could of course be caused by different things. I've managed to recreate a failure on this line (BcelWeaver.java:1095) and attached the testcase to bug 119882. The steps the test takes is: Stage 1: Compile the 4 files, pack.A2 extends pack.A1 (aspects) where A2 uses a protected field in A1 and pack.C2 extends pack.C1 (classes) where C2 uses a protected field in C1 Stage 2: make the field private in class C1 ==> compile errors in C2 Stage 3: make the field private in aspect A1 whilst there's the compile error <<-- this causes the BCException Does this sound similar to the steps you were taking when you saw this bug? If not, could you please describe in more detail what you were doing? Were there compile errors when you tried to save the file? Could provide a testcase?
Marking this bug as a duplicate of bug 119882 because as mentioned before, they are reporting the same error. *** This bug has been marked as a duplicate of 119882 ***
Changing OS from Mac OS to Mac OS X as per bug 185991