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

javac -parameters does not emit parameter names for lambda expressions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 8
    • tools
    • b47
    • Verified

    Backports

      Description

        As reported at [1], the synthetic method emitted for a lambda expression does not have a MethodParameters attribute, even when javac -parameters is specified. This is an oversight, as other attributes are generated as expected for the synthetic method, e.g. Runtime[In]VisibleTypeAnnotations for annotations on types of lambda formal parameters.

        [1] http://mail.openjdk.java.net/pipermail/type-annotations-spec-comments/2014-March/000071.html

        Attachments

          Issue Links

            Activity

              People

                sadayapalam Srikanth Adayapalam (Inactive)
                abuckley Alex Buckley
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: