changeset 49078:9c006936068b

8198375: Passing 'null' value to lookup param of ConstantBootstraps.invoke does not throw NullPointerException Reviewed-by: mchung
author psandoz
date Mon, 26 Feb 2018 16:05:25 -0800
parents 0b65c64c9db9
children 978c3036fbfc
files src/java.base/share/classes/java/lang/invoke/ConstantBootstraps.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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