Bug 111829 - Four tests failing because resolved members don't preserve type vars
Summary: Four tests failing because resolved members don't preserve type vars
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: Macintosh All
: P3 normal (vote)
Target Milestone: 1.5.0RC1   Edit
Assignee: Andrew Clement CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-06 14:56 EDT by Adrian Colyer CLA
Modified: 2005-10-18 10:20 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Colyer CLA 2005-10-06 14:56:15 EDT
I've commented out the following four tests in the suite that fail because (ironically) we now do a better 
job in other parts of the system. Specifically, we remember the bounds of type variables which causes 
us to fail to find matching ITD members that use type variable parameters with non-Object upper 
bounds.

GenericsTests.testParseItdSharingVars2
GenericsTests.testSophisticatedAspectsG
GenericsTests.testItdNonStaticMember
GenericsTests.testItdStaticMember

In BcelClassWeaver you'll see two temporary guards in fixAnnotationsForResolvedMember that need to 
be removed once this is fixed. They ensure that we put out a semi-decent message (in amongst all of 
the dumped type info I grant you) when we hit this problem.
Comment 1 Adrian Colyer CLA 2005-10-06 14:56:51 EDT
I've marked it M4 as we don't have anything later than that...
Comment 2 Andrew Clement CLA 2005-10-18 04:27:42 EDT
I've reactivated 3 tests - just working on the last one now
Comment 3 Andrew Clement CLA 2005-10-18 10:20:27 EDT
tests all back in ;)