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

Enhanced drop-args, identity and default constant, varargs adjustment

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:

      Description

      Enhanced drop-args:
      Adapts a target method handle to match the given parameter type list, if necessary, by adding dummy arguments.

      Varargs adjustment:
      Adapts a method handle as asVarargsCollector if flag is true else asFixedArity.

      Identity and default constant:
      Produces a method handle which does nothing and returns a suitable default depending on the return type.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              srastogi Shilpi Rastogi (Inactive)
              Reporter:
              srastogi Shilpi Rastogi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: