| ▲ | kasperni 7 hours ago | |||||||||||||||||||||||||
Strict Field Initialization is opt-in. A flag needs to be set in the classfile in order to enable it. So should not effect any existing code. | ||||||||||||||||||||||||||
| ▲ | cogman10 7 hours ago | parent [-] | |||||||||||||||||||||||||
It won't bite initially, it will bite when you go to update your version of javac in the future and this becomes the default. Or when you update a library that just so happened to be compiled with a newer version of javac. This particularly matters when you have something likes this
or even something like this | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||