What steps will reproduce the problem?
1. JSonArray json = new JsonArray()
2. json.add(jsonElt) over and over
3. array grows and grows
What is the expected output? What do you see instead?
array grows and grows
What version of the product are you using? On what operating system?
2.1, Windows 7 64-bit.
Please provide any additional information below.
Please add:
/**
* Creates an empty JsonArray.
*/
public JsonArray(int size) {
elements = new ArrayList<JsonElement>(size);
}
Original issue reported on code.google.com by garydgre...@gmail.com on 17 Apr 2012 at 1:59
Original issue reported on code.google.com by
garydgre...@gmail.com
on 17 Apr 2012 at 1:59