Hello, I've been wondering if the java.dyn stuff will enable error handling which is not based on exceptions. For instance if a MethodHandle is called with the wrong number of arguments the current design seems to assume that throwing an exception is a sensible action to take.
Throwing an exception is a sensible thing to do in many languages but some languages, Common Lisp comes to mind, handle errors by calling the current error handler. Is it possible to efficiently check the argument count and in case of a mismatch to call an error handler without unwinding the stack? Helmut _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev