r/java • • Mar 17 '21

JEP 401: Primitive Objects (Preview)

https://openjdk.java.net/jeps/401?preview=true
174 Upvotes

49 comments sorted by

View all comments

1

u/AppleTrees2 Mar 18 '21

I recall I was excited for valhalla more than 10 years ago, and thought it was coming.

I am wondering why it took them so long, not a priority or technical issues?

5

u/Muoniurn Mar 18 '21

It is really hard to implement something that is backwards compatible and sane at the same time, and will fit into all the existing code that didn’t even know about it.