-
Core Java
JDK 11: Release Candidate Update and OpenJDK JDK 11 LTS
JDK 11 is scheduled to be released for General Availability on Tuesday, 25 September 2018. A 16 August 2018 Mark…
Read More » -
Core Java
Carefully Specify Multiple Resources in Single try-with-resources Statement
One of the more useful new features of Java 7 was the introduction of the try-with-resources statement [AKA Automatic Resource…
Read More » -
Core Java
APIs To Be Removed from Java 11
After seeing several APIs removed as part of Java 10, Java 11 (JSR 384) looks to remove some more APIs.…
Read More » -
Core Java
JDK 12, Merging Collectors, and the Challenge of Naming
It appears likely that a new method will be available on the java.util.streams.Collectors class in JDK 12 that will, according…
Read More » -
Core Java
JDK 11: Taking Single-File Java Source-Code Programs Out for a Spin
The JDK 11 Early Access Builds include preview functionality related to JEP 330 (“Launch Single File Source Code Programs”). I…
Read More » -
Core Java
Memory-Hogging Enum.values() Method
I’m a big fan of Java’s enum. It seemed like we waited forever to get it, but when we did…
Read More » -
Core Java
JDK 11: New Default Collection Method toArray(IntFunction)
The “JDK 11 Early-Access Release Notes” indicate that Early Access Build 20 of JDK 11 includes a new default method…
Read More » -
Core Java
Optional.isEmpty() Available in JDK 11 EA Builds
My recently posted question “Optional.isEmpty() Coming to Java?” was prompted by a core-libs-dev mailing list post titled “RFR: 8184693: (opt)…
Read More » -
Core Java
Deferred Execution with Java’s Predicate
In the previous posts “Deferred Execution with Java’s Supplier” and “Deferred Execution with Java’s Consumer“, I looked at easily deferring…
Read More »