1 comments

  • cogman1012 minutes ago
    This is a great change that will undoubtedly cause a lot of headaches.<p>There&#x27;s a number of libraries (particularly around serialization&#x2F;marshaling) which will end up mutating `final` fields. In fact, this is a trick I&#x27;ve pulled once or twice in my own code for &quot;reasons&quot; (generally needing to modify behavior of a library because it was deficient).<p>I suspect this will be one of those things that ends up requiring java devs everywhere to bump up the versions of the libraries they use.
    • kasperni7 minutes 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.