Big thanks to Oracle for providing me with a platform to speak and share my favourite APIs in JDK 9.
In the talk, we covered smaller APIs, which don’t get a lot of emphasis, or are less known in the shadow of modularity. Special focus was put on APIs that enable us to write cleaner code. We talked about convenience factory methods for collections, Stream API enhancements, CompletableFuture API improvements, Stack-walking API, Process API updates, and the HTTP 2 client. This was a live demonstration using JShell, Java’s implementation of REPL.
If you’ve missed the talk at JavaOne, you can watch it here:
Feel free to browse the slides (download here):
Use this session export to try the commands yourself: