--- old/src/share/vm/runtime/globals.hpp 2016-06-02 16:54:07.629745501 +0200 +++ new/src/share/vm/runtime/globals.hpp 2016-06-02 16:54:07.329745511 +0200 @@ -4004,6 +4004,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 >= 52") \ + \ diagnostic(bool, FoldStableValues, true, \ "Optimize loads from stable fields (marked w/ @Stable)") \ \