Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-626

org.apache.myfaces.el.getType(Object base, int index) return null if base instanceof Object[]

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.1.2
    • General
    • None
    • w2k, jboss-4.0.2, tomcat55

    Description

      if (base instanceof Object[] && ((Object[])base)[index] != null) {
      Object[] array = (Object[]) base;
      return array[index].getClass().getComponentType(); == return null
      .....

      getComponentType() returns the Class representing the component type of an array. If this class does not represent an array class this method returns null.

      Attachments

        Activity

          People

            manolito Manfred Geiler
            _spa Pavel Stetsuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: