7ebd01
From 085b289c17f7047f4350d52bf594313392ae0caa Mon Sep 17 00:00:00 2001
7ebd01
From: Marian Koncek <mkoncek@redhat.com>
7ebd01
Date: Thu, 31 Oct 2019 12:30:12 +0100
7ebd01
Subject: [PATCH] Port to OpenJDK 11
7ebd01
7ebd01
---
7ebd01
 .../commons/collections/collection/AbstractTestCollection.java  | 2 +-
7ebd01
 1 file changed, 1 insertion(+), 1 deletion(-)
7ebd01
7ebd01
diff --git a/src/test/org/apache/commons/collections/collection/AbstractTestCollection.java b/src/test/org/apache/commons/collections/collection/AbstractTestCollection.java
7ebd01
index dfde362..8287f33 100644
7ebd01
--- a/src/test/org/apache/commons/collections/collection/AbstractTestCollection.java
7ebd01
+++ b/src/test/org/apache/commons/collections/collection/AbstractTestCollection.java
7ebd01
@@ -1116,7 +1116,7 @@ public abstract class AbstractTestCollection extends AbstractTestObject {
7ebd01
         verify();
7ebd01
 
7ebd01
         try {
7ebd01
-            array = collection.toArray(null);
7ebd01
+            array = collection.toArray((Object[]) null);
7ebd01
             fail("toArray(null) should raise NPE");
7ebd01
         } catch (NullPointerException e) {
7ebd01
             // expected
7ebd01
-- 
7ebd01
2.21.0
7ebd01