Bug 450841 - Update default URLs for attached Javadoc for JREs to https
Summary: Update default URLs for attached Javadoc for JREs to https
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.4.2   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-10 09:45 EST by Markus Keller CLA
Modified: 2015-01-29 02:22 EST (History)
2 users (show)

See Also:
sarika.sinha: review+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2014-11-10 09:45:47 EST
(via bug 450684)

Looks like Oracle has permanently moved JRE Javadocs to https, so we should update the default URLs in org.eclipse.jdt.internal.launching.StandardVMType.

$ wget -S http://docs.oracle.com/javase/8/docs/api/
--2014-11-10 15:32:16--  http://docs.oracle.com/javase/8/docs/api/
Resolving docs.oracle.com (docs.oracle.com)... 104.66.181.23
Connecting to docs.oracle.com (docs.oracle.com)|104.66.181.23|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 301 Moved Permanently
  Server: AkamaiGHost
  Content-Length: 0
  Location: https://docs.oracle.com/javase/8/docs/api/
  Date: Mon, 10 Nov 2014 14:32:16 GMT
  Connection: keep-alive
Location: https://docs.oracle.com/javase/8/docs/api/ [following]
Comment 1 Markus Keller CLA 2014-11-10 09:50:49 EST
Fixed in master: http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=77ef36de6d2e9af03f0d318b0b0ba458aceefbb2

Sarika, OK to backport to R4_4_maintenance?
Comment 2 Sarika Sinha CLA 2014-11-11 04:15:31 EST
(In reply to Markus Keller from comment #1)
> Fixed in master:
> http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/
> ?id=77ef36de6d2e9af03f0d318b0b0ba458aceefbb2
> 
> Sarika, OK to backport to R4_4_maintenance?

Backported to R4_4_maintenance

http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?h=R4_4_maintenance&id=df11c598605b06496d272a92c91b90f9ded9b15c
Comment 3 Sarika Sinha CLA 2014-11-11 04:16:43 EST
Docs location updated in 4.4.2
Comment 4 Sarika Sinha CLA 2014-11-11 06:22:57 EST
Updated bundle version in org.eclipse.jdt.launching under R4_4_maintenance  via :

http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?h=R4_4_maintenance&id=afcb7e6b04c3c05e98b58f1b536f28f5874879d0
Comment 5 Sarika Sinha CLA 2015-01-29 02:22:25 EST
Verified using

Eclipse SDK

Version: Luna SR2 (4.4.2)
Build id: M20150128-1000

Note: even http://docs.oracle.com/javase/8/docs/api/ is working now and I could access the Javadoc using 4.4.1 as well.