Java
-
OpenJDK 21 Compiler Warning on Constructor Calling Overridable Methods
THe OpenJDK 21 beta 15 early access build (released 23 March 2023) adds an -Xlint warning to the Java compiler…
Read More » -
Clear details on Java collection ‘Clear()’ API
Several of us might be familiar with the clear () API in Java collections framework. In this post, let’s discuss…
Read More » -
Java Concurrency: ReentRantLock Fairness
Previously we saw some of the building blocks of concurrency in Java. In this blog we will focus on ReentRantLock.…
Read More » -
Methods To Convert InputStream to String In Java
In Java, an InputStream is a common way to read data from a source, such as a file or network…
Read More » -
Kafka Streams Developer: Techniques to Conquer
Apache Kafka is an open-source distributed streaming platform developed by the Apache Software Foundation. It was initially developed at LinkedIn…
Read More » -
Java Static Synchronized method behavior
In our earlier post, we learnt that when a method is synchronized, only one thread will be allowed to enter…
Read More » -
Java Concurrency: The Lock interface
Previously we implemented a thread safe counter using synchronized. We would like to swift from synchronized blocks to something more…
Read More » -
Java Modules: An Introduction
Java modules were introduced in Java 9 to enhance the modularity of the Java platform. A module in Java is…
Read More » -
10 Popular Libraries for Java Unit and Integration Testing
Java unit testing and integration testing are both important parts of the software development process. Unit testing involves testing individual…
Read More »