8198375: Passing 'null' value to lookup param of ConstantBootstraps.invoke does not throw NullPointerException
authorpsandoz
Mon, 26 Feb 2018 16:05:25 -0800
changeset 48990 9c006936068b
parent 48989 0b65c64c9db9
child 48991 978c3036fbfc
8198375: Passing 'null' value to lookup param of ConstantBootstraps.invoke does not throw NullPointerException Reviewed-by: mchung
src/java.base/share/classes/java/lang/invoke/ConstantBootstraps.java
--- 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