Bug 93093

Summary: [1.5][dom] Capture binding "? extends Number[]" has bound Object instead of Number[]
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Markus Keller CLA 2005-04-28 06:04:17 EDT
I20050426-1700

Vector< ? extends Number[] > wild= null;
wild.get(0);

The bounds of the capture binding for expression "wild.get(0)" are { Object },
but should be { Number[] }.
Comment 1 Markus Keller CLA 2005-04-28 07:19:09 EDT
See also bug 92982.
Comment 2 Philipe Mulet CLA 2005-04-28 12:09:04 EDT
Issue is in DOM AST conversion. The list of bounds is not surfacing the extra
first bound which contains the array bound.
Comment 3 Philipe Mulet CLA 2005-04-29 07:25:34 EDT
Added ASTConverter15Test#test173.
Fixed by considering the captureBinding firstBound in array scenario.
Comment 4 Olivier Thomann CLA 2005-05-11 13:30:07 EDT
Verified in I20050510-0010