Hacker News new | ask | show | jobs
by oftenwrong 1416 days ago
Unfortunately, records are only guaranteed to be 'shallowly' immutable. It would be great if future Java versions provided a straightforward way to enforce immutability.