Summary: | Compiling of Java 5 template code crashes with compiler error | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Fritz Solms <fritz> |
Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | P3 | ||
Version: | DEVELOPMENT | ||
Target Milestone: | 1.5.4 | ||
Hardware: | PC | ||
OS: | Linux | ||
URL: | http://www.solms.co.za | ||
Whiteboard: |
Description
Fritz Solms
2006-12-07 02:56:27 EST
java.lang.ClassCastException at org.aspectj.ajdt.internal.compiler.lookup.EclipseResolvedMember.getParameterNames(EclipseResolvedMember.java:98) at org.aspectj.weaver.ResolvedMemberImpl.parameterizedWith(ResolvedMemberImpl.java:660) at org.aspectj.weaver.ResolvedMemberImpl.parameterizedWith(ResolvedMemberImpl.java:597) at org.aspectj.weaver.ReferenceType.getDeclaredFields(ReferenceType.java:381) at org.aspectj.weaver.ResolvedType$2.get(Resol ... es when weaving when batch building BuildConfig[/home/fritz/workspace/.metadata/.plugins/org.eclipse.ajdt.core/components.generated.lst] #Files=356 Can you provide the code that is causing this, along with any other pertinent information please? This is an AspectJ bug... A simple search of bugzilla for 'EclipseResolvedMember.getParameterNames' reveals bug 165885 - which is the same problem and has been fixed in the AJ development tree. The fix is not yet in an AJDT build. This fix is now in the latest AJDT 1.5 dev build (for eclipse 3.3M3) fix available. |