Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8159850

Remove unneeded parsing of optional-size when parsing array types

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 9
    • hotspot
    • b07

      When the VM parses an array type in a method signature, it looks for one or more of the following at the start of the array type: "[<optional-size>", where <optional-size> is zero or more digits. (See SignatureIterator::parse_type() in signature.cpp, and other places)

      The <optional-size> is not in the JVM-Spec and does not appear to be used. The code that parses it should be removed if an <optional-size> of one or more digits is never specified.

            hseigel Harold Seigel (Inactive)
            hseigel Harold Seigel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: