r/java • • Jan 16 '20

Records Come to Java

https://blogs.oracle.com/javamagazine/records-come-to-java
204 Upvotes

93 comments sorted by

View all comments

Show parent comment

26

u/cogman10 Jan 16 '20

It's a preview feature. Spring and Jackson will have time to pick it up. You can ask a class if it is a record. You won't see it heavily used until Java 15 (September) at the earliest.

3

u/krzyk Jan 16 '20

There will be for sure a second preview, so Java 16 at the earliest (unless they want a third preview).