Anticipating Java 9: Functionality And Tooling [Slides and Video]
With Java 9 near, it's time to look ahead to what functionality is available as well as IntelliJ IDEA’s support (current and future) for it.
Join the DZone community and get the full member experience.
Join For FreeIt seems like we’ve been waiting for Java 9 for eternity. We’ve been hearing all about Jigsaw since Java 7, so we’ll be forgiven for thinking that’s the most interesting thing about the next Java release. What we should be wondering is, will Java 9 it change the way we develop, like Java 8 did? Will my tools break when I try to use it? Is it worth playing with it before it comes out, or should I just wait until everything stabilizes?
In this talk, we will take a look at some of the features in Java 9, including modularity, the REPL, and the nice new Collections features. Trisha will demonstrate, via live coding, these features in IntelliJ IDEA, and talk a bit about the current and future support for Java 9 in IntelliJ IDEA.
Video
Slides
Resources
- See also Real World Java 9
Download the latest Java JDK here (the talk uses build 161).
IntelliJ IDEA 2017.1 introduced basic support for modules. This support has evolved a little since then, I’m now using the 2017.2 EAP to get the best support for Java 9.
The Jigsaw code I used was from a workshop by Brian Goetz. But to start playing with Jigsaw, take a look at the Getting Started tutorial. I used the Java REPL Tutorial to help me get started with JShell.
Help and Feedback
Get help and more information on JDK 9 from the Oracle Community feedback forum. If you find a genuine bug in the JDK, report it here.
You can report bugs and request features for IntelliJ IDEA in YouTrack. Some Java 9 tickets you may be interested in:
More Information
Joseph Darcy’s talk on JDK 9 Language, Tooling and Library Features from JavaOne is a good summary of what’s coming (slides also available).
What is cool in Java 8 and new in 9 (Slides: Java 9 content starts at Slide 40)
The OpenJDK wiki provides guidance on running your code with Java 9 and a list of libraries and frameworks who are currently testing against Java 9.
Published at DZone with permission of Trisha Gee, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments