Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354370 - Java compile error for delegate assignment to an array element
Summary: Java compile error for delegate assignment to an array element
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-10 08:44 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:19 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kathy Carroll CLA 2011-08-10 08:44:29 EDT
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
Comment 1 Jeff Douglas CLA 2011-08-12 14:50:28 EDT
fixed
Comment 2 Kathy Carroll CLA 2011-08-15 14:47:27 EDT
verified
Comment 3 Lisa Lasher CLA 2011-10-11 16:06:35 EDT
Closing this defect.