< prev index next >

src/java.base/share/classes/jdk/internal/access/JavaLangInvokeAccess.java

Print this page
@@ -126,17 +126,16 @@
       * Returns a native method handle with given arguments as fallback and steering info.
       *
       * Will allow JIT to intrinsify.
       *
       * @param nep the native entry point
-      * @param fallback the fallback handle
       * @return the native method handle
       */
-     MethodHandle nativeMethodHandle(NativeEntryPoint nep, MethodHandle fallback);
+     MethodHandle nativeMethodHandle(NativeEntryPoint nep);
  
      /**
-      * Ensure given method handle is customized
-      *
-      * @param mh the method handle
+      * A best-effort method that tries to find any exceptions thrown by the given method handle.
+      * @param handle the handle to check
+      * @return an array of exceptions, or {@code null}.
       */
-     void ensureCustomized(MethodHandle mh);
+     Class<?>[] exceptionTypes(MethodHandle handle);
  }
< prev index next >