| Summary: | Generation error when service return type is number | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Xin Wu <cdlwuxin> |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdlwuxin, jeffdouglas |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed verified in 20110929 |
Build Identifier: 20110907 nightly build Generation error when service return type is number. The generated code convert ESmallint to BigDecimal and got compile error. Reproducible: Always Steps to Reproduce: 1. Create EDT service file 2. Add service funtion: function returnNumber() returns(number) res number = 123; return(res); end 3. The generated code as follow public BigDecimal returnNumber() { BigDecimal res = null; res = ESmallint.ezeBox((short) 123); // error return res; }