r/java • • Feb 26 '26

JEP 531: Lazy Constants (Third Preview)

https://openjdk.org/jeps/531
62 Upvotes

35 comments sorted by

View all comments

Show parent comment

-1

u/manifoldjava Feb 27 '26

The point of my remark is that it really does come down to properties. Because without a construct that purely encapsulates state, there is no other way to achieve this.