Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 583 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 583 Bytes

Play with records

This repo demonstrates the evolution from heavyweight Java objects to the concept of records as data stores.

Useful Commands

--enable-preview must be added to the javac and java in order to enable the records preview

javac --enable-preview --release 14 --module-path mods -d classes --module-source-path src $(find src -name "*.java")
jar --create --file=mods/play.with.records.jar --main-class=play.with.records.Main -C classes/play.with.records .
java --enable-preview --module-path mods --module play.with.records