Mechanism for checking that the current Java runtime environment supports the minimum JVMCI API
required by Graal. The
JVMCI_VERSION_CHECK environment variable can be used to ignore a
failed check (
JVMCI_VERSION_CHECK=ignore) or print a warning (
JVMCI_VERSION_CHECK=warn) and continue. Otherwise, a failed check results in an
InternalError being raised or, if called from
JVMCIVersionCheck.main(String[]), the VM exiting
with a result code of
-1
This class only depends on the JDK so that it can be used without building Graal.