New candidate JEP: 468: Derived Record Creation (Preview)

Mark Reinhold mark.reinhold at oracle.com
Wed Feb 28 20:04:05 UTC 2024


https://openjdk.org/jeps/468

  Summary: Enhance the Java language with derived creation for
  records. Records are immutable objects, so developers frequently create
  new records from old records to model new data. Derived creation
  streamlines code by deriving a new record from an existing record,
  specifying only the components that are different. This is a preview
  language feature.

- Mark


More information about the jdk-dev mailing list