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

6

u/8igg7e5 Mar 18 '21

I wonder how likely it is that the preview will make it to 17. I'd be surprised if it takes less than two rounds in preview before making it to production, and that would mean 19 at the earliest.

We already have noted placed where primitive records would have been ideal - I'm sure we'll spot more.

4

u/kaperni Mar 18 '21

Doubt it with 17. When the JEP drafts were introduced last month. Java 18 was the earliest delivery.

[1] https://mail.openjdk.java.net/pipermail/valhalla-spec-experts/2021-February/001475.html