Bug 96633 - getJavaElement returns null for Object[] array binding
Summary: getJavaElement returns null for Object[] array binding
Status: CLOSED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-25 12:04 EDT by Adam Kiezun CLA
Modified: 2005-06-10 08:23 EDT (History)
0 users

See Also:


Attachments
Proposed fix (1.62 KB, patch)
2005-05-27 09:50 EDT, Jerome Lanneluc CLA
no flags Details | Diff
Regression test (1.41 KB, patch)
2005-05-27 09:51 EDT, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2005-05-25 12:04:39 EDT
3.1M7
I have a Object[] binding and call getJavaElement on it. The spec promises the
same element as I'd get when calling getJavaElement on Object.
But I get a null.
Comment 1 Jerome Lanneluc CLA 2005-05-27 09:50:45 EDT
Created attachment 21876 [details]
Proposed fix
Comment 2 Jerome Lanneluc CLA 2005-05-27 09:51:35 EDT
Created attachment 21877 [details]
Regression test
Comment 3 Philipe Mulet CLA 2005-05-30 06:25:49 EDT
+1 for RC2
Comment 4 Jerome Lanneluc CLA 2005-05-30 09:57:20 EDT
Released fix and test.
Comment 5 Olivier Thomann CLA 2005-06-06 20:02:47 EDT
Verified in N20050606-0010
Comment 6 Frederic Fusier CLA 2005-06-10 08:23:32 EDT
Verified for 3.1 RC2 using build I20050610-0010