Summary: | Polymorphic ITD fails in CVS HEAD (From ajdt 1.1.6) | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Ron Bodkin <rbodkin+LISTS> |
Component: | Compiler | Assignee: | Andrew Clement <aclement> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | unspecified | ||
Target Milestone: | 1.2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Ron Bodkin
2004-02-12 18:12:48 EST
*** Bug 51902 has been marked as a duplicate of this bug. *** This occurs because of an assumption in LazyMethodGen. It assumes for an intertype declaration, it can create a skeleton form of the LazyMethodGen. This means we don't create the necessary containing object (memberView) that has the method signature in it. The stack trace shows a call from a snippet of code that is used to compare intertype declarations. If the names for two intertype declarations are the same, it continues on to compare the signatures - because the memberView does not exist, the getSignature() method blows up NPE. The fix is to say that if the memberView is null, conjure up the right signature on the spot to allow the comparison to be done. I'll check the fix in tomorrow morning. Fix checked in. |