-
Core Java
[JDK 11] Class Loader Hierarchy Details Coming to jcmd
I’ve been a fan of the diagnostic command-line tool jcmd since hearing about jcmd at JavaOne 2012. I’ve used this…
Read More » -
Core Java
JDK 9/10/11: Side Effects from += on Java String
The question “Why does `array[i++%n] += i+” “` give different results in Java 8 and Java 10?” was posted earlier…
Read More » -
Core Java
Shebang Coming to Java?
Although it was never a central goal of JEP 330 [“Launch Single-File Source-Code Programs”] to add support for the Unix-style…
Read More » -
Core Java
Java’s String.format Can Be Statically Imported
JDK-8203630 [“Add instance method equivalents for String::format”] postulates that “the argument for implementing String::format as static appears to be that…
Read More » -
Core Java
New JDK 11 Files Method isSameContent()
It has been proposed that a method named isSameContents() be added to the Files class in JDK 11 via JDK-8202285…
Read More » -
Core Java
New JDK 11 Files Methods for Reading/Writing Strings From/To Files
My previous post focused on the Files.isSameContent() method that is likely to be added to JDK 11. JDK-8201276 [“(fs) Add…
Read More » -
Core Java
Predicate::not Coming to Java
Jim Laskey’s recent message “RFR: CSR – JDK-8203428 Predicate::not” on the OpenJDK core-libs-dev mailing list calls out JDK Bug JDK-8203428…
Read More » -
Core Java
Java’s @Serial Annotation
The JDK may be getting another standard (predefined) annotation with JDK 11: @Serial. JDK-8202385 [“Annotation to mark serial-related fields and…
Read More » -
Core Java
Updates on Records (Data Classes for Java)
There have been several updates related to “Java Data Classes” (AKA “Records”) in recent months. As I briefly mentioned in…
Read More »