Skip to content

CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit


This option enables and disables the recording of class relationships in the verifier to delay validation until triggered by class loading.

Note: You cannot use this setting in conjunction with -Xfuture or -Xverify:all, which itself enables -Xfuture.


Setting Effect Default
-XX:+ClassRelationshipVerifier Enable
-XX:-ClassRelationshipVerifier Disable yes


When enabled, this option delays validating the relationships between classes until the classes are required to be loaded during program execution. In this way, classes that are not required, are never loaded thus reducing VM startup time.

A verify error is thrown if validation fails.