Yes, yes, I know that Java 20 is out. Yes, yes, I know that Java 21 will be released in September. Still, many developers aren’t familiar with the latest features, functions, improvements, and other facilities in Java 17, the Long Term Support (LTS) version.
It’s time to learn about the new stuff, even if you aren’t ready to migrate your production codebase. Study the new JEPs. Test the performance improvements and bug fixes. And don’t forget the myriad other changes that make Java better all the time.
Take care, Alan Zeichick Editor in Chief, Java Magazine @zeichick
P.S. Want to see what’s new in Java 17 without taking the entire certification class? Take the short 40-minute course, “Java SE 17: New Features.”
The newest Java Magazine articles
The performance implications of Java reflection Reflection slows down your Java code. Why is that? Reflection is powerful—and often misunderstood. Ben Evans discusses that and two major additional topics: how reflection is implemented in the HotSpot JVM and the changes made to reflection in recent versions of the Java platform.
All about Java’s instance initializer blocks Initializers can be used to set initial values for fields in objects and classes. There are three kinds of initializers: field initializer expressions, static initializer blocks, and instance initializer blocks. This article, adapted from Khalid Mughal and Vasily Strelnikov’s book, digs into instance initializer blocks.
Curly Braces #10: The best way to measure Java developer productivity How do you measure programmer productivity? Forget about counting the number of software lines of code (usually abbreviated as either LoC or SLoC) written each day. Eric Bruno discusses the shortcomings of the LoC approach (it’s even debatable what LoC is) and suggests a few alternatives.
10 recent Java Magazine quizzes from Mikalai and Simon
Java Magazine is a deep dive into Java and the JVM. Find detailed explanations about the language and the platform written by experts and members of the Java development team.
Join a quarter of a million subscribers in getting useful, authoritative programming information delivered directly to your inbox.