What’s New in Java 25
Java 25 continues the recent Java trend: fewer flashy features, more small, sharp tools that make everyday code safer, faster, and easier to reason about.
In this post we’ll look at:
- simpler
mainandjava.langusage - constructor “prologues” and inheritance
ScopedValuevsThreadLocal- runtime & performance improvements
_as an unnamed parameter/pattern- sealed types with safer
switch - **gatherers: custom intermediate stream operations **