Mar 26, 2026
Carrier classes are Project Amber's current idea to extend some of records' benefits to regular classes. Probably the most important among them is deconstruction, which would allow classes to participate in pattern matching and reconstruction. In recent weeks, there have been two mails to the Amber mailing list...
Mar 12, 2026
Java 26 is getting all packaged up to be shipped worldwide! As with every release of the JDK there are a number of new features, improvements, changes in behavior, and more developers should be aware of before upgrading. In this episode of the Inside Java Newscast we will review all the noteworthy changes coming in...
Mar 9, 2026
Java's checked exceptions are both an integral part of the language and one of its most contested features. Whether their introduction was a mistake and whether they should all be turned unchecked are frequently discussed topics but since the former is not overly relevant and the latter unlikely, this conversation isn't...
Mar 6, 2026
Lazily initializing fields in Java is error-prone and undermines
constant-folding. JDK 26 comes with JEP 526, which previews
LazyConstant, a type
that lazily initializes a value through a given Supplier. It executes
that supplier at most once successfully and then assigns the value
to a field annotated with @Stable,...