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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: