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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 9
    • None
    • core-libs

    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

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

              Dates

                Created:
                Updated:
                Resolved: