From: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Date: Mon, 12 Aug 2013 09:43:30 +0100
Subject: beanutils18-compat

---
 core/src/main/java/org/kohsuke/stapler/RequestImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/core/src/main/java/org/kohsuke/stapler/RequestImpl.java
+++ b/core/src/main/java/org/kohsuke/stapler/RequestImpl.java
@@ -649,7 +649,7 @@
                 if (converter==null)
                     throw new IllegalArgumentException("Unable to convert to "+type);
 
-                l.add(converter.convert(type,o));
+                l.add(converter.convert(l.itemType,o));
                 return l.toCollection();
             }
         }
