Skip to content

Test the new record construct coming as a preview on Java 14

Notifications You must be signed in to change notification settings

albihasani94/play.with.records

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Test the new record construct coming as a preview on Java 14

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published