-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.

Default behavior

By default, strict format checks are disabled.