--- old/src/share/vm/runtime/globals.hpp 2016-06-10 17:18:56.472949964 +0200 +++ new/src/share/vm/runtime/globals.hpp 2016-06-10 17:18:56.312949960 +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 >= 51") \ + \ diagnostic(bool, FoldStableValues, true, \ "Optimize loads from stable fields (marked w/ @Stable)") \ \