You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2013/10/26 18:58:34 UTC
[jira] [Created] (BEANUTILS-447) LazyDynaList.toArray() is not
conform to the contract defined by the Collection interface
Oliver Heger created BEANUTILS-447:
--------------------------------------
Summary: LazyDynaList.toArray() is not conform to the contract defined by the Collection interface
Key: BEANUTILS-447
URL: https://issues.apache.org/jira/browse/BEANUTILS-447
Project: Commons BeanUtils
Issue Type: Bug
Components: DynaBean
Affects Versions: 1.8.3
Reporter: Oliver Heger
Fix For: LATER THAN 1.8.4
The documentation of the toArray(T[]) method says that the passed in array is used and returned if its size is sufficient. The implementation of {{LazyDynaList}} violates this contract; it always creates a new array.
--
This message was sent by Atlassian JIRA
(v6.1#6144)