Uploaded image for project: 'Commons BeanUtils'
  1. Commons BeanUtils
  2. BEANUTILS-447

LazyDynaList.toArray() is not conform to the contract defined by the Collection interface

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.3
    • 1.9.0
    • DynaBean
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            oheger Oliver Heger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: