--- old/test/java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java 2016-03-04 20:20:34.747176800 +0600 +++ new/test/java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java 2016-03-04 20:20:34.567654000 +0600 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -154,8 +154,8 @@ } void addList(Function, ? extends List> l) { - // @@@ If collection is instance of List then add sub-list tests addCollection(l); + addCollection(l.andThen(list -> list.subList(0, list.size()))); } void addMap(Function, ? extends Map> m) {