Emit some debug info when checking Java version.
This commit is contained in:
@@ -798,6 +798,9 @@ public class Application
|
|||||||
// parse the version out of the java.version (or custom) system property
|
// parse the version out of the java.version (or custom) system property
|
||||||
long version = SysProps.parseJavaVersion(_javaVersionProp, _javaVersionRegex);
|
long version = SysProps.parseJavaVersion(_javaVersionProp, _javaVersionRegex);
|
||||||
|
|
||||||
|
log.info("Checking Java version", "current", version,
|
||||||
|
"wantMin", _javaMinVersion, "wantMax", _javaMaxVersion);
|
||||||
|
|
||||||
if (_javaExactVersionRequired) {
|
if (_javaExactVersionRequired) {
|
||||||
if (version == _javaMinVersion) return true;
|
if (version == _javaMinVersion) return true;
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user