changeset 19421:2a0bfdf4c2db

8023150: java/util/stream tests no longer compiling following JDK-8019401 Reviewed-by: alanb
author psandoz
date Fri, 16 Aug 2013 12:29:58 +0200
parents a95fae98f735
children 208998c7e4dc
files jdk/test/java/util/stream/test/org/openjdk/tests/java/util/stream/TabulatorsTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/test/java/util/stream/test/org/openjdk/tests/java/util/stream/TabulatorsTest.java	Mon Aug 12 12:06:50 2013 -0400
+++ b/jdk/test/java/util/stream/test/org/openjdk/tests/java/util/stream/TabulatorsTest.java	Fri Aug 16 12:29:58 2013 +0200
@@ -609,7 +609,7 @@
     @Test(dataProvider = "StreamTestData<Integer>", dataProviderClass = StreamTestDataProvider.class)
     public void testComposeFinisher(String name, TestData.OfRef<Integer> data) throws ReflectiveOperationException {
         List<Integer> asList = exerciseTerminalOps(data, s -> s.collect(toList()));
-        List<Integer> asImmutableList = exerciseTerminalOps(data, s -> s.collect(collectingAndThen(toList(), Collections::unmodifiableList)));
+        List<Integer> asImmutableList = exerciseTerminalOps(data, s -> s.collect(collectingAndThen(toList(), Collections::<Integer>unmodifiableList)));
         assertEquals(asList, asImmutableList);
         try {
             asImmutableList.add(0);