Stuart Marksstuartmarks@mastodon.social
Jul 31, 2026, 5:55 PMWoohoo! JEP 401 (Value Objects) has landed in mainline!
$ jshell
| Welcome to JShell -- Version 28-internal
| For an introduction type: /help intro
jshell> new Integer(1234) == new Integer(1234)
$1 ==> false
$ jshell --enable-preview
| Welcome to JShell -- Version 28-internal
| For an introduction type: /help intro
jshell> new Integer(1234) == new Integer(1234)
$1 ==> true