JDK 28 has entered rampdown and its features are frozen. What changes are you most interested in, and what are you still hoping Java gets in a future release?
JDK 28 is in rampdown. What are you looking forward to?
Answers
Structured concurrency is the one that catches my eye. Java keeps getting features that make it worth following even if you used to think of it as a slow-moving language.
Reply to this answer
Automatic heap sizing for ZGC sounds useful. I'd also like to see something similar for G1 eventually, since not everyone uses ZGC.
Reply to this answer
Null handling is still high on my wish list. Operators like C#'s null-conditional and null-coalescing operators can make a chain of nullable calls and a fallback value easier to read. There are ways to express that in Java now, but they can get clunky.
Vexlori~3n:
Kotlin is an option if those operators are a priority, though that doesn't solve the wish for them in Java itself.
Reply to this answer
Besides properties, I'd like more flexibility around putting related public classes in one source file. Java's file organization rules can feel restrictive compared with languages that allow several public types together.
Reply to this answer
Feature freeze doesn't mean development stops. The JDK 28 work shifts toward stabilization and release preparation, while the mainline has already moved on to JDK 29. You can build that code yourself if you want to explore it.
Reply to this answer
Add your answer
Answers are reviewed before publication.
c.437+torvani:
I'm less excited about that direction. Proper properties would make a bigger difference to the code I write.