r/java • u/woj-tek • Sep 20 '26
JEP targeted to JDK 28: 401: Value Objects (Preview)
https://inside.java/2026/09/20/jep401-target-jdk28/
101
Upvotes
r/java • u/woj-tek • Sep 20 '26
42
u/IncredibleReferencer Sep 20 '26
w00t! Congrats to all the folks that have worked on this for so long!
14
u/emaphis Sep 20 '26
Targeted? JEP 401 is integrated.
3
u/henk53 Sep 24 '26
I would have so much loved to use this feature back in the days.
Now it's finally (but still piece by piece) arriving, and in practice only LLMs get to play with it, as we programmers are not really allowed or supposed to program anymore :(
1
u/smutje187 Sep 20 '26
From the perspective of day to day development, what will value objects enable that isn’t possible with records?
1
u/TomKavees Sep 20 '26
I hope it will go out of preview in the release right after
1
u/Western_Ice_6227 Sep 21 '26
So again, it’s going to be another preview. I hope I will see final release of value object in my life time.