| Summary: | Java compile error for delegate assignment to an array element | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffdouglas, jqian |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed verified Closing this defect. |
EGL Code: ====================== package explore; library tester {} function runtTests2() runTestMtds runTestMethod[2]; runTestMtds[1] = EBoolean003.runTestConversions02; runTestMtds[2] = EBoolean003.runTestConversions03; end end delegate runTestMethod() end ========================== package explore; library EBoolean003 {} function runTestConversions02() end function runTestConversions03() end end Java code: runTestMtds.set((int)((short) 1) - 1, eze_Lib_explore_EBoolean003().new org.eclipse.edt.javart.Delegate("runTestConversions02", this)); Java Error: Cannot allocate the member type org.eclipse.edt.javart.Delegate using its compound name when qualified by an enclosing instance. The member type name is resolved relatively to the qualifying instance type