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

Correct behavior of parameter reflection with index 0 and empty string parameter names.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • None
    • core-libs

      Under the present implementation of method parameter reflection, parameters whose name index is 0 in the class file (ie parameters that have no name) are treated the same as parameters whose name is "": a name of the form "argI" is synthesized for them.

      There needs to be a determination as to whether or not this is the correct behavior, which entail either of 1) updating the spec accordingly if it is, or 2) updating the implementation accordingly if it is not.

            emc Eric Mccorkle
            emc Eric Mccorkle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: