Several methods in java.lang.invoke don't specify treatment of nulls

XMLWordPrintable

      Several methods in java.lang.invoke don't specify treatment of null arguments (most throw NPEs).

      The following methods throw unspecified NPEs:
      MethodHandles.invoker(MethodType)
      MethodHandles.exactInvoker(MethodType)
      LambdaMetafactory.metafactory(...)
      LambdaMetafactory.altMetafactory(...)

      MethodHandle.invokeWithArguments(Object... arguments) doesn't throw any exceptions if arguments is null, although the List-accepting version throws NPE.

            Assignee:
            Chen Liang
            Reporter:
            Stanislav Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: