From c034b29c71d9d0ffb70ae66380eebf902ddd7d04 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Wed, 11 Mar 2009 02:01:16 +0000 Subject: [PATCH] fixed a problem reported in http://www.nabble.com/Authorization-exception-on-configure-job-td22417412.html git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16159 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/model/Hudson.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/model/Hudson.java b/core/src/main/java/hudson/model/Hudson.java index a7905f5a81..1f29c5ee24 100644 --- a/core/src/main/java/hudson/model/Hudson.java +++ b/core/src/main/java/hudson/model/Hudson.java @@ -2714,7 +2714,7 @@ public final class Hudson extends Node implements ItemGroup, 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)"))