New candidate JEP: 531: Lazy Constants (Third Preview): https://openjdk.org/jeps/531 #openjdk #java
JEP 531: Lazy Constants (Third Preview)

@openjdk Reminds me of Guava’s Memoizer class. Which is not deeply anchored in the JVM like LazyConstant, of course. But it has an expiry option.