--- old/src/share/vm/runtime/globals.hpp 2016-06-10 16:47:25.096893856 +0200 +++ new/src/share/vm/runtime/globals.hpp 2016-06-10 16:47:24.756893846 +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)") \ \