Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359346

Summary: java.lang.ClassCastException: org.eclipse.edt.mof.egl.impl.ArrayAccessImpl cannot be cast to org.eclipse.edt.mof.egl.Name
Product: z_Archived Reporter: pf yu <pfyu>
Component: EDTAssignee: Project Inbox <edt.compiler-inbox>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: jeffdouglas, jqian, pfyu, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
egl file for the array type testing none

Description pf yu CLA 2011-09-29 02:57:21 EDT
Build Identifier: 201109282102

Assigning a value to a element of a two-dimensional array will cause runtime excetion:
Multiple markers at this line
	- IWN.JavaGen.9998.e 14/335 Exception occurred: java.lang.ClassCastException: org.eclipse.edt.mof.egl.impl.ArrayAccessImpl cannot be cast to 
	 org.eclipse.edt.mof.egl.Name
	- IWN.JavaGen.9999.e 14/335 Stack Trace: java.lang.ClassCastException: org.eclipse.edt.mof.egl.impl.ArrayAccessImpl cannot be cast to org.eclipse.edt.mof.egl.Name

Please confirm if it is working by design in EDT, if not, please fix the issue.

Reproducible: Always

Steps to Reproduce:
1.Create a EDT basic project "abc".
2.Copy the attachment "ArrayTypeTest.egl" to the project.
3.Turn on the Java Generator, and see the compile errors.
Comment 1 pf yu CLA 2011-09-29 02:58:57 EDT
Created attachment 204250 [details]
egl file for the array type testing
Comment 2 Jeff Douglas CLA 2011-10-01 21:33:56 EDT
fixed
Comment 3 pf yu CLA 2011-10-12 05:11:09 EDT
Verified in build 201110110900