Bug 191312 - details for arrays attempt source lookup for non-existant source
Summary: details for arrays attempt source lookup for non-existant source
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.3   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.3.1   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2007-06-06 13:21 EDT by Darin Wright CLA
Modified: 2007-07-09 14:25 EDT (History)
0 users

See Also:


Attachments
patch (1.27 KB, patch)
2007-06-06 13:22 EDT, Darin Wright CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2007-06-06 13:21:19 EDT
3.3RC3

When an array is selected in variables view, we resolve a project for the selected array type, to perform an evaluation in (for the toString details). To resolve the project, we lookup the source for the IJavaObject - but this ends up looking for source for the "array typed" object, rather than the component type of the array - for example "java.lang.Object[]" rather than "java.lang.Object". Source will never be found for types with "[]" in the name, so we end up searching all source containers and failing.
Comment 1 Darin Wright CLA 2007-06-06 13:22:51 EDT
Created attachment 70378 [details]
patch
Comment 2 Darin Wright CLA 2007-06-06 13:23:39 EDT
Marking as 3.3.1 candidate.
Comment 3 Darin Wright CLA 2007-06-27 12:21:10 EDT
Released fix to HEAD
Comment 4 Michael Rennie CLA 2007-07-09 14:16:35 EDT
released patch to 3.3.1 maintenance
Comment 5 Michael Rennie CLA 2007-07-09 14:16:55 EDT
please verify Curtis W
Comment 6 Curtis Windatt CLA 2007-07-09 14:25:36 EDT
Verified