Java News

Text Blocks - JEP Café #5

By Jose Paumard on October 21, 2021

This JEP Café discusses JEP 378: Text Blocks, released with the JDK 15. Text Blocks allow you to write strings of characters spanning several lines of your source code and without having to escape most of the special characters…

Read More
Sip of Java - Record Serialization

By Billy Korando on October 21, 2021

Learn about Records Serialization...

Read More
JDK 18 augmented `javac -Xlint:serial` checks

By Joe Darcy on October 20, 2021

At present, the -Xlint:serial checks done by javac check that a serializable class has a serialVersionUID field and that the field is properly declared, with type long and modifiers static and final, etc. Besides serialVersionUID, the serialization mechanism recognizes and can also use one other field (serialPersistentFields) and five methods…

Read More
JEP proposed to target JDK 18: 416: Reimplement Core Reflection with Method Handles

By Mandy Chung on October 19, 2021

The following JEP is proposed to target JDK 18: 416: Reimplement Core Reflection with Method Handles…

Read More
In-memory HttpServer Handler

By Christian Stein on October 18, 2021

JDK 18 will introduce a simple Web server (see JEP 408). Here is an example of an HTTP handler implementation that serves in-memory assets. This is useful for running HTTP client tests that want to issue GET or HEAD requests against a well-known set of assets…

Read More
Faster Charset Encoding

By Claes Redestad on October 17, 2021

CharsetDecoders got several times faster in JDK 17, leaving CharsetEncoder behind. After a few false starts and some help from the community I found a trick to speed up CharsetEncoders similarly. This may or may not speed up your apps in the future. This is a technical read, but also a story about the process of failing and trying again, with no graphs and lots of distracting links to source code. Sorry. But there will be cake…

Read More
Java 17… more videos, UTF-8 by default in Java 18 - Inside Java Newscast #13

By Jose Paumard on October 15, 2021

With JDK 17 just released, JDK 18 is already well on its way. In this episode, we'll start to look at some features of this upcoming release, i.e. the adoption of UTF-8 as the default charset of the JDK APIs, etc. We'll conclude with a quick visit to, the destination for Java developers.

Read More
Java SE 7 End of Extended Support in July 2022

By Donald Smith on October 15, 2021

Now that Java SE 17 has been released, let’s go back in time a full decade to Java SE 7, which was released in 2011. Java SE 7 was the first release developed under Oracle’s stewardship of Java, and the beginning of a decade-long, successful effort to move Java forward, revitalizing it in the process…

Read More
Sip of Java - Serialization Filters

By Billy Korando on October 14, 2021

Learn how to use and configure serialization filters!

Read More
Modern, Scalable Concurrency for the Java Platform

By Ron Pressler on October 13, 2021

In this session learn about Project Loom, which aims to reinstate the thread as an efficient unit of concurrency by adding a lightweight implementation of threads to the Java platform.

Read More

Sourced from via RSS.