Core Java
-
Six More JEPs Proposed for JDK 14
A recent Mark Reinhold message announces six new “JEPs proposed to target JDK 14”: JEP 345, JEP 361, JEP 363,…
Read More » -
Java 13: Enhancements to Switch Expressions
You may remember from my previous post that, in Java 12, the traditional switch statement was enhanced so that it…
Read More » -
Benchmark for new string methods of Java 11
While I was checking what’s new in Java 11, I saw that there are several new methods for String class.…
Read More » -
Locks In Java
A lock is a thread synchronization mechanism like synchronized blocks. Locks are implemented internally using synchronized blocks. Therefore, we can…
Read More » -
Become a Master of Java Streams – Part 4: Database Streams
SQL has always been a declarative language whereas Java for a long time has been imperative. Java streams have changed…
Read More » -
Better NPE Messages in JDK 14
My March 2019 blog post “Better Default NullPointerException Messages Coming to Java?” was written when the draft JEP for better…
Read More » -
Java 13: Text Blocks
Java 13 has delivered the long-awaited multiline strings or Text Blocks. You no longer need to concatenate strings that span…
Read More » -
A New Era for Determining Equivalence in Java?
A few month ago I read a blog post of the title “A New Era for Determining Equivalence in Java?”…
Read More » -
7 Options to capture Java heap dumps
Heap Dumps are vital artifacts to diagnose memory-related problems such as slow memory leaks, Garbage Collection problems, and java.lang.OutOfMemoryError.They are also…
Read More »