8198375: Passing 'null' value to lookup param of ConstantBootstraps.invoke does not throw NullPointerException

Reviewed-by: mchung
This commit is contained in:
Paul Sandoz 2018-02-26 16:05:25 -08:00
parent 703621f15f
commit 4ce3f37ba2

View file

@ -209,8 +209,7 @@ public final class ConstantBootstraps {
* Returns the result of invoking a method handle with the provided
* arguments.
*
* @param lookup the lookup context describing the class performing the
* operation (normally stacked by the JVM)
* @param lookup unused
* @param name unused
* @param type the type of the value to be returned, which must be
* compatible with the return type of the method handle