Skip to content

Commit

Permalink
Merge pull request #1171 from gboucherie/JENKINS-22462
Browse files Browse the repository at this point in the history
[JENKINS-22462] update cookie name and value
  • Loading branch information
olivergondza committed Apr 3, 2014
2 parents 9313b5f + ef22ba2 commit d67600e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/tools/JDKInstaller.java
Expand Up @@ -388,7 +388,7 @@ public URL locate(TaskListener log, Platform platform, CPU cpu) throws IOExcepti
int authCount=0, totalPageCount=0; // counters for avoiding infinite loop

HttpMethodBase m = new GetMethod(primary.filepath);
hc.getState().addCookie(new Cookie(".oracle.com","gpw_e24",".", "/", -1, false));
hc.getState().addCookie(new Cookie(".oracle.com","oraclelicense","accept-securebackup-cookie", "/", -1, false));
try {
while (true) {
if (totalPageCount++>16) // looping too much
Expand Down

0 comments on commit d67600e

Please sign in to comment.