--- old/src/share/vm/runtime/globals.hpp 2016-06-10 19:38:03.602926340 +0200 +++ new/src/share/vm/runtime/globals.hpp 2016-06-10 19:38:03.402926334 +0200 @@ -4033,6 +4033,11 @@ experimental(bool, TrustFinalNonStaticFields, false, \ "trust final non-static declarations for constant folding") \ \ + diagnostic(bool, CheckFinalFieldModifications, true, \ + "Check that final fields are modified only in initializers. " \ + "For compatibility reasons, the check has an effect only " \ + "for classfile version >= 53") \ + \ diagnostic(bool, FoldStableValues, true, \ "Optimize loads from stable fields (marked w/ @Stable)") \ \