8198375: Passing 'null' value to lookup param of ConstantBootstraps.invoke does not throw NullPointerException
Reviewed-by: mchung
--- a/src/java.base/share/classes/java/lang/invoke/ConstantBootstraps.java Mon Feb 26 12:43:53 2018 +0100
+++ b/src/java.base/share/classes/java/lang/invoke/ConstantBootstraps.java Mon Feb 26 16:05:25 2018 -0800
@@ -209,8 +209,7 @@
* 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