Community
Participate
Working Groups
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
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.