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

Remove unneeded parsing of optional-size when parsing array types

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: