| Summary: | Java Compile error ezeUnbox() undefined for type String | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffdouglas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed verified Closing this defect. |
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 }