JEP 539: Strict Field Initialization in the JVM (Preview)
- Summary Introduce strictly-initialized fields in the Java Virtual Machine.
- Such fields must be initialized before they are read, thus default values such as 0 or null are never observed.
- For strictly-initialized fields that are final, the same value is always observed.
Unverified
- Summary Introduce strictly-initialized fields in the Java Virtual Machine.
- Such fields must be initialized before they are read, thus default values such as 0 or null are never observed.
- For strictly-initialized fields that are final, the same value is always observed.
Sources: Openjdk