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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: