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

Bug 359967

Summary: AppendElement to an any[] causes ezeBox non applicable arguments java compile errors
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1 CC: jeffdouglas, jqian
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kathy Carroll CLA 2011-10-05 07:49:05 EDT
Marked this as major because it has been fine unitl build 201110042101.

Here's the EGL code:

library boxing
	function setValuesIntoAnyArray()
		objects any[];
		objects.appendElement(1);
		today timestamp;
		rec TestDefaultedRec;
		objects.appendElement(today);
		objects.appendElement(rec);
		objects.appendElement("my string");
		some string = "some string";
		objects.appendElement(some);
		LogResult.assertBigIntEqual1( 5, objects.getSize() );
	end
end

record TestDefaultedRec
	s string = "Defaulted value";
	d decimal(5,2) = 123.45;
end

Here are the java errors:

The method ezeBox(Calendar, int, int) in the type ETimestamp is not applicable for the arguments (ETimestamp, int, int)
The method ezeBox(Short) in the type ESmallint is not applicable for the arguments (ESmallint)
The method ezeBox(String) in the type EString is not applicable for the arguments (EString)
The method ezeBox(String) in the type EString is not applicable for the arguments (EString)
The method ezeCopyTo(AnyValue, V) in the type AnyValue is not applicable for the arguments (AnyBoxedObject<AnyBoxedObject<TestDefaultedRec>>, TestDefaultedRec)
Comment 1 Jeff Douglas CLA 2011-10-20 13:22:33 EDT
fixed
Comment 2 Kathy Carroll CLA 2011-10-21 12:31:07 EDT
Verified 201110210902 & closed