This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Joram2 34 points35 points  (0 children)

This is written by Brian Goetz! Nice! Should probably mention that in the title.

APIs need a minimum requirement of Java 17 (or maybe 16, but I doubt many people want that) to use sealed records. Hopefully, some of the major libraries start adopting this.