ArrayDeque: avoid triggering JDK 1.6 bug in tests

Use System.arraycopy instead of Arrays.copyOfRange to
avoid triggering JDK-7174363 bug in copyOfRange.

Fix package of ArrayDequeTest
This commit is contained in:
Ilya Gorbunov
2020-01-24 01:37:45 +03:00
parent 6352cded1b
commit 8733d5f9ed
2 changed files with 11 additions and 6 deletions
@@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package collections
package test.collections
import test.collections.behaviors.iteratorBehavior
import test.collections.behaviors.listIteratorBehavior