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

MethodHandles.dropArguments javadoc lists parameters in wrong order

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 13, 14
    • 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)



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

              Created:
              Updated:
              Resolved: