mirror of
https://github.com/corda/corda.git
synced 2025-02-13 06:07:08 +00:00
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.