| Summary: | ArraySizeException on resize of array functions | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | broy2 |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mheitz |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Whoops, I thought resize() worked that way in RBD. I was wrong. It should only throw an exception when the new size is < 0 or > maxSize. By the way, a string[5] with maxSize=3 doesn't look like a good idea. Fixed, along with a couple other mistakes in the EglList class that you didn't find. Verified in 20110906. |
Build Identifier: 20110831 Run the following program. Get: egl.lang.ArraySizeException program pgm2 type BasicProgram{} function main() myNames string[5] { maxSize=3 } = ["matt", "justin", "paul"]; myNames.resize(2); end end Reproducible: Always