Closed jankotek closed 8 years ago
LongArrayList.reverseThis() operates on array size, not on actual List size. After reversing some items are lost. This was seen in 7.0.0
LongArrayList.reverseThis()
Reproduce: 1) create LongArrayList with array size 10 2) add one non zero item. 3) perform reverseThis() 4) List now contains zero
reverseThis()
LongArrayList.reverseThis()
operates on array size, not on actual List size. After reversing some items are lost. This was seen in 7.0.0Reproduce: 1) create LongArrayList with array size 10 2) add one non zero item. 3) perform
reverseThis()
4) List now contains zero