Skip to content

Commit

Permalink
[JENKINS-22462] update cookie name and value
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Boucherie committed Apr 2, 2014
1 parent 9313b5f commit ef22ba2
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 ef22ba2

Please sign in to comment.