[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.
上级 08b957c1
...@@ -54,10 +54,10 @@ import org.kohsuke.stapler.DataBoundConstructor; ...@@ -54,10 +54,10 @@ import org.kohsuke.stapler.DataBoundConstructor;
public final class JDK extends ToolInstallation implements NodeSpecific<JDK>, EnvironmentSpecific<JDK> { public final class JDK extends ToolInstallation implements NodeSpecific<JDK>, EnvironmentSpecific<JDK> {
/** /**
* 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 * @since 1.577
*/ */
public static final String DEFAULT_NAME = "(Default)"; public static final String DEFAULT_NAME = "(System)";
/** /**
* @deprecated since 2009-02-25 * @deprecated since 2009-02-25
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册