mirror of
https://github.com/corda/corda.git
synced 2025-01-31 16:35:43 +00:00
153b78f479
The ArrayList(Collection) constructor was allocating two arrays instead of one due to an off-by-one error in ArrayList.grow. This commit fixes that and makes grow and shrink more robust.