Java Reference
In-Depth Information
myList . forEach ( o -> /* do something with o here... */ );
This is discussed further in Iterable.forEach method (Java 8) .
A new JavaScript implementation codenamed Nashorn is available via javax.script (see
Calling Other Languages via javax.script ) and can also be run from the command line.
Javadoc (see Documenting Classes with Javadoc ) extended to javax.tools API.
Annotations can be repeated, obviating the need for “wrapper” annotations like
javax.persistence.NamedQueries , which is just a container for a list of
javax.persistence.NamedQuery annotations.
Finally, Java provides support for Base 64 encoding/decoding in the form of
java.util.Base64 with two nested classes for encoding and decoding.
Dozens of other small changes, such as those covered by OpenJDK .
Look Away Beyond the Blue Horizon…
There are no official announcements yet for Java 9 or beyond. It is anticipated that a release,
probably called Java 9, may appear around 2016 and may include more JVM optimization
(“self-tuning VM”), better support for larger memory in the multi-gigabyte range, improve-
ments for native code users, and more. Announcements of these plans typically appear at the
usually annual Java World conference. Given the huge investment in Java by Oracle and Java
users large and small, it is likely that there will be a Java 10, and more. There is no end in
sight.
Search WWH ::




Custom Search