CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit www.eclipse.org/openj9/docs

-Xfuture

As described in the Oracle "Non-Standard Options" documentation, this HotSpot option turns on strict class-file format checks. For compatibility, this option is also supported by the OpenJ9 VM.

Syntax

    -Xfuture

Explanation

Oracle recommend that you use this flag when you are developing new code because stricter checks will become the default in future releases.

Note: You cannot use this setting in conjunction with -XX:+ClassRelationshipVerifier.

Default behavior

By default, strict format checks are disabled.