Demonstrates the features that will be available in Java 9. The links below take you to the demo in this project, the JEP responsible for introducing the feature, and to other sources if available.
Putting everything here will take a while, so you have to be patient. If you can't, check out the JDK 9 page and look through the JEPs. You can read more from me on codefx.org and follow me on Twitter (and even G+, I guess).
Jigsaw is too big to demo here. Check out my blog or this demo project.
- private interface methods (JEP 213)
- try-with-resources on effectively final variables (JEP 213)
- diamond operator for anonymous classes (JEP 213)
@SaveVarargson private non-final methods (JEP 213)- no warnings for deprecated imports (JEP 211)
- OS processes (JEP 102)
- multi-resolution images (JEP 251)
- stack walking (JEP 259)
- platform logging (JEP 264)
- reactive streams (JEP 266)
- collection factory methods (instead of collection literals; JEP 269)
- platform-specific desktop features (not supported by my OS so my sample sucks; PRs welcome! JEP 272)
- deserialization filter (targeted for JDK 9 but not yet implemented; JEP 290)