Java value classes ship in JDK 28, but not the flat ArrayList everyone wanted (jvm-weekly.com)
The change adds 197,000 lines across 1,816 files. Integer, Long and Double quietly lose their object identity. And the headline win — a flat ArrayList<Point> — explicitly does NOT ship yet.
Brian Goetz pre-empted his critics, saying the 'they'll never ship it' crowd would now switch to 'but they didn't ship the most important part.' Readers found a footnote claiming C# structs 'have identity' — which is wrong — next to AI-generated diagrams, and asked what else in the article was hallucinated.
Sign in to save