Java Cup
Inside Java

News and views from members of the Java team at Oracle

The Record Attribute - What does it mean to be a record at runtime?

Records offers a new protocol that can be leveraged at runtime by frameworks and libraries; A record class has a known state, accessors of that state, and a canonical constructor to initialize the state. Taken together these properties offer a new protocol for libraries to interact with records.…


More at https://mail.openjdk.java.net/pipermail/amber-spec-experts/2020-November/002630.html.