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