-
Bug
-
Resolution: Unresolved
-
P4
-
9
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.
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.