Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add usage indicators for the bundled JDK #40616

Merged
merged 11 commits into from
Mar 29, 2019
Prev Previous commit
Next Next commit
Fix tests
jasontedor committed Mar 29, 2019

Verified

This commit was signed with the committer’s verified signature.
Kobzol Jakub Beránek
commit a54784f22784307bf41b2ab1d2977269a021a655
Original file line number Diff line number Diff line change
@@ -154,7 +154,7 @@ public class JvmInfo implements Writeable, ToXContentFragment {

}

final boolean bundledJdk = Booleans.parseBoolean(System.getProperty("es.bundled_jdk"));
final boolean bundledJdk = Booleans.parseBoolean(System.getProperty("es.bundled_jdk", Boolean.FALSE.toString()));
final Boolean usingBundledJdk = bundledJdk ? usingBundledJdk() : null;

INSTANCE = new JvmInfo(JvmPid.getPid(), System.getProperty("java.version"), runtimeMXBean.getVmName(), runtimeMXBean.getVmVersion(),