Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354651 - Java Compile error ezeUnbox() undefined for type String
Summary: Java Compile error ezeUnbox() undefined for type String
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-12 13:24 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:16 EST (History)
1 user (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-12 13:24:49 EDT
Java Error Message:

Multiple markers at this line
	- Syntax error on token "eze$Temp1", delete this 
	 token
	- The method ezeUnbox() is undefined for the 
	 type String

============EGL CODE========
program driver type BasicProgram {}
	use explore;
	function main()
		logStdOut("testing");
	end
end

library explore {}
	outR Log;
	function logStdOut(logmsg String )
		outR.msg += logmsg;		
		trace(logmsg);
	end
	function trace(stuff string)
		syslib.writestdout(stuff);
	end
end
Record Log
	msg String;
end

=================  Java code ============
	public void logStdOut(AnyBoxedObject<String> logmsg) {
		outR.msg += logmsg.ezeUnbox();
		AnyBoxedObject<String> eze$Temp1 = null;
		eze$Temp1 = EglAny.ezeWrap(logmsg.ezeUnbox());
		eze_Lib_tester_explore().trace(eze$Temp1);
		logmsg.ezeCopy(logmsg.ezeUnbox() eze$Temp1.ezeUnbox()); // err
	}
Comment 1 Jeff Douglas CLA 2011-08-12 13:45:59 EDT
fixed
Comment 2 Kathy Carroll CLA 2011-08-15 14:28:51 EDT
verified
Comment 3 Lisa Lasher CLA 2011-10-11 16:09:00 EDT
Closing this defect.