Core Java
-

Zuul 2 – Sample filter
Zuul 2 has finally been open sourced. I first heard of Zuul 2 during Spring One 2016 talk by Mikey…
Read More » -

Thread Methods destroy() and stop(Throwable) Removed in JDK 11
The message “RFR(s): 8204243: remove Thread.destroy() and Thread.stop(Throwable)” by @DrDeprecator (Stuart Marks) on the core-libs-dev OpenJDK mailing list is a…
Read More » -

[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 » -

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 » -

API Updates in Java SE 11 (18.9)
Java SE 11, which is also named as 18.9 (based on the new naming scheme which uses the year and…
Read More » -

Binary Search in Java without Recursion – Iterative algorithm
This weekâs task is to implement binary search in Java, you need to write both iterative and recursive binary search…
Read More » -

Java 10: Collecting a Stream into an Unmodifiable Collection
Java 10 introduces several new methods to facilitate the creation of unmodifiable collections. The List.copyOf, Set.copyOf, and Map.copyOf methods create…
Read More » -

Void methods as behavior black holes
This post could have been titled âVoid methods considered harmfulâ, if âconsidered harmfulâ essays werenât considered harmful themselves. Oh welp.…
Read More » -

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 »
