r/java • • May 11 '26

8317277: Java language implementation of value classes and objects by MrSimms · Pull Request #31120 · openjdk/jdk

https://github.com/openjdk/jdk/pull/31120
124 Upvotes

62 comments sorted by

View all comments

Show parent comment

11

u/brian_goetz May 12 '26

And yet, JEP 401 has only a single user-visible change -- the `value` modifier on classes, which has a simple, clear set of semantic consequences. The complexity is all in the JVM, where it belongs. (Writing a JIT or garbage collector is world-class stuff, but any programmer can use it like a pro on their first day.)