2 ms·
There were another JEP draft [1] recently that was proposing to introduce a lazy keyword for static fields. This new JEP looks like an alternative without any l
by mfiguiere 3y ago
There were another JEP draft [1] recently that was proposing to introduce a lazy keyword for static fields. This new JEP looks like an alternative without any language change, and seems more likely to prevail.
[1] JEP draft: Lazy Static Final Fields - https://openjdk.org/jeps/8209964 https://openjdk.org/jeps/8209964