From ff021d3c374a067d622fdb078a4e391149df7d41 Mon Sep 17 00:00:00 2001 From: "Hughes, Wilfred (London)" Date: Wed, 14 Jan 2015 16:27:35 +0000 Subject: [PATCH] [JENKINS-755] Describe the built-in JDK as '(System)'. As suggested in https://issues.jenkins-ci.org/browse/JENKINS-755?focusedCommentId=206175&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-206175 this avoids confusion where users incorrectly think they're getting a JDK they've listed in the configuration page. --- core/src/main/java/hudson/model/JDK.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/hudson/model/JDK.java b/core/src/main/java/hudson/model/JDK.java index fe2152b8a6..addb666a63 100644 --- a/core/src/main/java/hudson/model/JDK.java +++ b/core/src/main/java/hudson/model/JDK.java @@ -54,10 +54,10 @@ import org.kohsuke.stapler.DataBoundConstructor; public final class JDK extends ToolInstallation implements NodeSpecific, EnvironmentSpecific { /** - * Name of the “default JDK”, meaning no specific JDK selected. + * Name of the “System JDK”, which is just the JDK on Jenkins' $PATH. * @since 1.577 */ - public static final String DEFAULT_NAME = "(Default)"; + public static final String DEFAULT_NAME = "(System)"; /** * @deprecated since 2009-02-25 -- GitLab