--- old/test/java/util/Spliterator/SpliteratorLateBindingFailFastTest.java 2016-03-04 15:16:25.231020700 +0600 +++ new/test/java/util/Spliterator/SpliteratorLateBindingFailFastTest.java 2016-03-04 15:16:24.874520700 +0600 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 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 @@ -52,6 +52,7 @@ /** * @test + * @bug 8148748 * @summary Spliterator last-binding and fail-fast tests * @run testng SpliteratorLateBindingFailFastTest */ @@ -120,8 +121,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> mapConstructor) {