Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359967 - AppendElement to an any[] causes ezeBox non applicable arguments java compile errors
Summary: AppendElement to an any[] causes ezeBox non applicable arguments java compile...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-05 07:49 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:17 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-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