Home » Tag Archives: Java 9

Tag Archives: Java 9

Java 9 Streams API using JShell

This post looks at the Java 9 Streams API using JShell. The Streams API changes build on the success of Streams in Java 8, and introduce a number of utility methods – takeWhile, dropWhile and iterate. This post continues My Top Java 9 Features, and explores these methods using Jshell. Streams API The Streams API and Lambda’s were the most ...

Read More »

Java 9 JShell Examples: Collections Static Factory Methods

This post continues my exploration of Java9 features from my My Top Java 9 Features blog post. Here we are experimenting with Java9 Collections Static Factory Methods in the List, Set and Map interfaces. Collections Static Factory Methods Java9 makes it easier to create immutable lists using its new static Factory Methods   List and Set There are 12 Set.of ...

Read More »

jhsdb: A New Tool for JDK 9

I like to use the command-line tools provided with the JDK in the early steps of analyzing performance and other issues with Java-based applications and have blogged on tools such as jcmd, jps, jstat, jinfo, jhat and jmap, jrunscript, jstack, and jdeps. JDK 9 is bringing new command-line tools with multiple tools specifically related to new JDK 9 features such ...

Read More »

Java’s Observer and Observable are Deprecated in JDK 9

In the blog post Applying JDK 9 @Deprecated Enhancements, I discussed additions of the optional elements (methods) forRemoval() and since() to the @Deprecated annotation in JDK 9. I stated in that post, “The application of new JDK 9 @Deprecated methods on the Java SE API can also be instructive in how they are intended to be used.” In this post, ...

Read More »

Oracle JDK 9 Early Access Documentation Updated

Raymond Gallardo‘s 4 April 2017 post Early Access documentation for Oracle JDK 9 has been updated today announces updates to the Oracle JDK9 Documentation Early Access page. Gallardo highlights a few of the updated sections including What’s New in Oracle JDK 9, Oracle JDK 9 Migration Guide, HotSpot Virtual Machine Garbage Collection Tuning Guide (including Garbage-First Garbage Collector Tuning), javapackager ...

Read More »

JDK 9 is the End of the Road for Some Features

It was announced a few days ago that JDK 9 is Feature Complete! Many of the “features” that made the cut are additions, but some are removals. This post looks at some of the items being removed from OpenJDK and/or Oracle’s JDK with Java 9. Endorsed-standard Override Mechanism and Extension Mechanism Part of JEP 220 (“Modular Run-Time Images”) is the ...

Read More »

JDK 9 is Feature Complete!

Today’s Mark Reinhold message JDK 9 is Feature Complete — now it’s time to ramp down announces that JDK 9’s “overall feature set is, at this point, frozen.” Reinhold, Chief Architect of Oracle’s Java Platform Group, adds, “It’s highly unlikely that any further JEPs will be targeted to the release.” Text similar to that in this message is also featured ...

Read More »

Java 9 module-info Files in the Eclipse IDE

Note that this post is not intended to be a status update; it’s just a quick update based on some experimenting that I’ve been doing with the beta code. It’s been a while, but I’m back to experimenting in Java 9 support in the Eclipse IDE. For testing purposes, I downloaded the most recent Oxygen (4.7) integration build (I20160914-0800) from the Eclipse ...

Read More »