Core Java
-

JDK 13: What AggressiveOpts?
The Java VM flag -XX:+AggressiveOpts was deprecated in JDK 11 [see JDK-8199777 and JDK-8199778] “because its behavior is ill-defined.” The…
Read More » -

Running JAXB xjc Compiler with OpenJDK 11
As described in the post “APIs To Be Removed from Java 11,” a JAXB implementation is no longer included with…
Read More » -

How much faster is Java 11?
Java 11 was released some time ago, although the majority of developers stay on Java 8. Let’s see which one of…
Read More » -

Using Minimum Fractional Digits with JDK 12 Compact Number Formatting
The post “Compact Number Formatting Comes to JDK 12” demonstrated the support added to NumberFormat in JDK 12 to support…
Read More » -

Different States of Java Threads
Introduction In Java, threads can have States. The Thread.State enum defines the different states that a Java thread can have.…
Read More » -

Java 11: Converting a Collection to an Array
In Java 11, a new default method, toArray(IntFunction), has been added to the java.util.Collection interface, which allows the collection’s elements…
Read More » -

Parsing Value from StreamCorruptedException: invalid stream header Message
It is a relatively common occurrence to see StreamCorruptedExceptions thrown with a “reason” that states, “invalid stream header” and then…
Read More » -

Restarting Java’s Raw String Literals Discussion
It was announced in December 2018 that raw string literals would be dropped from JDK 12. Now, in the new year, discussion related…
Read More » -

Compact Number Formatting Comes to JDK 12
JDK 12 Early Access Build 24 introduces support for Compact Number Formatting. The JDK-8188147 (Compact Number Formatting support) CSR‘s “Summary” is the simple…
Read More »
