Thanks for making me curious... Cool new developments, didn't touch Java in a while!
> Records are the impl of dataclasses
This is ofc backwards/reverse of any sane logic that would start with value types and after invent references (eg. in this case probably would've mean introducing a new composed-primitive type)... but then again, it's Java, at least they got the strings being immutable part right from the start.