Java | News, how-tos, features, reviews, and videos
Java's Calendar class had its day, but the newer LocalDate class does much more. Here are seven ways to use LocalDate in your Java programs.
More than 35% of Java applications are using Java 17 in production, up from 9% in 2023, according to New Relic’s 2024 State of the Java Ecosystem report.
Tool kit for monitoring, managing, profiling, and troubleshooting Java applications now requires JDK 17 or later to run.
Allowing developers to handle an exception from the selector in switch with a case in the switch block would make switch more usable for pattern matching, the proposal says.
Allowing entire modules to be imported all at once would eliminate tedious typing and simplify the reuse of modular libraries in Java.
State of DevSecOps report finds 90% of Java services susceptible to vulnerabilities in third-party libraries.
G1 garbage collector improvement would also reduce the overhead of the JDK’s C2 optimizing compiler, benefiting cloud-based Java deployments.
JetBrains IDEs introduce full line code completion using a built-in language model, starting with the 2024.1 versions.
K2 compiler provides significantly faster and more stable Kotlin code highlighting and Kotlin code completion, JetBrains said.
Java Development Kit 22 contains an average number of new features, but is better than average in other ways. Let’s take a look.