Skip to content
Browse files
[FIXED JENKINS-10556] Auto Install JDK asks for Oracle account, but t…
…he link goes 404
  • Loading branch information
ssogabe committed Aug 2, 2011
1 parent 3e52131 commit 6f335c3d7e30cc7b96b09c3be3b74c526b06cb05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
@@ -55,7 +55,9 @@
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=>
<li class=bug>
Auto Install JDK asks for Oracle account, but the link goes 404.
(<a href="">issue 10556</a>)

@@ -630,7 +630,7 @@ public List<JDKFamily> getInstallableJDKs() throws IOException {

public FormValidation doCheckAcceptLicense(@QueryParameter boolean value) {
if (username==null || password==null)
return FormValidation.errorWithMarkup(Messages.JDKInstaller_RequireOracleAccount(Stapler.getCurrentRequest().getContextPath()+getDescriptorUrl()+"/enterCredential"));
return FormValidation.errorWithMarkup(Messages.JDKInstaller_RequireOracleAccount(Stapler.getCurrentRequest().getContextPath()+'/'+getDescriptorUrl()+"/enterCredential"));

This comment has been minimized.

Copy link

ndeloof Dec 16, 2011


Should have used getCredentialPageUrl() here to avoid code duplication (and as well this bug)

if (value) {
return FormValidation.ok();
} else {

0 comments on commit 6f335c3

Please sign in to comment.