MethodHandles.dropArguments javadoc lists parameters in wrong order

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 14
    • Affects Version/s: 13, 14
    • Component/s: core-libs

      A DESCRIPTION OF THE PROBLEM :
      The documentation for the MethodHandles.dropArguments methods lists the parameter not in the order in which they appear in the method signature. `pos` is documented as third parameter despite actually being the second one:
      https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/invoke/MethodHandles.html#dropArguments(java.lang.invoke.MethodHandle,int,java.lang.Class...)
      https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/invoke/MethodHandles.html#dropArguments(java.lang.invoke.MethodHandle,int,java.util.List)



            Assignee:
            Mandy Chung (Inactive)
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: