| Summary: | [evaluation] code assist allows expression for array but eval does not work | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Darin Wright <darin.eclipse> |
| Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.3 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
not planned for 3.3 This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
If I have code like this: Integer[] ints = new Integer[10]; for (int i = 0;i < ints.length; i++) { ints[i] = new Integer(i); } And I select 'ints' in the variables view, I can write an expression like: this[4].floatValue() Code assist will help me complete 'floatValue()', but executing the expression eval results in: "Error: the method flaotValue() is undefined for the type Object" We should either not allow the completion, or succeed on the evaluation.