New for Java 9: jshell
blogs.oracle.com
blogs.oracle.com
Requiring functions to declare their exceptions in the REPL seems like an odd decision though (particularly given that the shell will automatically catch exceptions). I wonder why they didn't just assume "throws Exception" or even the actual thrown Exception, given that they are able to infer it and these functions won't be overridden.