git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16159 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-03-11 02:01:16 +00:00
1 parent 5b28310d28
commit c034b29c71
1 file changed
+1 -1
+1 -1
View File
@@ -2714,7 +2714,7 @@ public final class Hudson extends Node implements ItemGroup<TopLevelItem>, Stapl
* If the user chose the default JDK, make sure we got 'java' in PATH.
*/
public void doDefaultJDKCheck( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException {
new FormFieldValidator(req,rsp,true) {
new FormFieldValidator(req,rsp,false) {
public void check() throws IOException, ServletException {
String v = request.getParameter("value");
if(!v.equals("(Default)"))