Doc For Class Array method newArray - incorrect line of code.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.3.0
    • Affects Version/s: 1.2.2, 1.3.0
    • Component/s: docs
    • kestrel
    • generic
    • generic



      Name: skT88420 Date: 09/15/99


      Here's the segment of doc. Note what surrounds 'length' on the last line pasted.

      newInstance
      public static Object newInstance(Class componentType,
                                       int length)
                                throws NegativeArraySizeException
      Creates a new array with the specified component type and length. Invoking this method is equivalent to creating an array as follows:
       int[] x = {length];

      http://java.sun.com/products/jdk/1.3/docs/api/java/lang/reflect/Array.html#newInstance(java.lang.Class,
      (Review ID: 95308)
      ======================================================================

            Assignee:
            Alan Sommerer (Inactive)
            Reporter:
            Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: