Looks like they added sensible no-boilerplate immutable data objects, and are trying to unbox their boxed primitives, yay for common sense at long last.
While they're about it, they should also add immutable/copying data structures.
While they're about it, they should also add immutable/copying data structures.
They will start with records[1], but I think all value classes (Valhalla) should have this functionality eventually.
You will be able to write:
record Point(int x, int y){}
Point pp = p with { x = 3; }
[1]https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...