8152021: MethodHandleAccessProvider.lookupMethodHandleIntrinsic throws NPE on null argument
authordnsimon
Thu, 31 Mar 2016 09:16:49 -0700
changeset 37277 9d1fb68add6b
parent 37276 f61297514617
child 37278 11de0a6c0877
8152021: MethodHandleAccessProvider.lookupMethodHandleIntrinsic throws NPE on null argument Reviewed-by: kvn, twisti
hotspot/src/jdk.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/MethodHandleAccessProvider.java
--- a/hotspot/src/jdk.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/MethodHandleAccessProvider.java	Thu Mar 31 09:16:49 2016 -0700
+++ b/hotspot/src/jdk.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/MethodHandleAccessProvider.java	Thu Mar 31 09:16:49 2016 -0700
@@ -51,6 +51,8 @@
     /**
      * Returns the method handle method intrinsic identifier for the provided method, or
      * {@code null} if the method is not an intrinsic processed by this interface.
+     *
+     * @throws NullPointerException if {@code method} is null
      */
     IntrinsicMethod lookupMethodHandleIntrinsic(ResolvedJavaMethod method);