Bug 9398

Summary: Compiler error with double array
Product: [Eclipse Project] JDT Reporter: Martin Möbius <m.moebius>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 2.0   
Target Milestone: 2.0 M3   
Hardware: PC   
OS: Windows NT   
Whiteboard:

Description Martin Möbius CLA 2002-02-11 11:04:12 EST
I forgot the [][] after double
Try to move your mouse about integer inside the method.
Try to compile this class.

public class CompilerError {
	/**test*/
	int integer = 0;

	public void test() {
		double size = { {}, {}};
		System.out.println(integer );
	}
}
Comment 1 Philipe Mulet CLA 2002-02-11 14:39:08 EST
Thanks ! We had a bug in the error reporting code (trying to compute the leaf 
type of the array initializer).

Will be in next integration build.
Fixed.