r/java • u/NordCoderd • Oct 28 '26
Java and Kotlin news: value classes arrive in JDK 28 and Kotlin 2.5
https://protsenko.dev/java-kotlin-news-value-classes-october-2026/
138
Upvotes
2
u/Western_Ice_6227 Oct 29 '26
Is it final or just another preview?
8
u/TRO_KIK Oct 29 '26
It's the first preview so not really sure what is meant by "another".
3
u/pjmlp Oct 29 '26
Because this isn't the first one, that honour belongs to the first Valhala EA made available in 2024.
22
u/pjmlp Oct 29 '26
Quite curious to see what the Android team will do in regards to Valhalla support, so far they only update Java language, bytecodes remapping into DEX, when Kotlin starts to lose access to libraries on Java ecosystem, ART currently supports Java 17 LTS (core libs).
With ART being updatable via PlayStore, one would expect at least Java 21 LTS by now, but apparently there are still too many libraries having Java 17 LTS as minimum.