8178954: jjs uses wrong javadoc base URL
authorsundar
Wed, 19 Apr 2017 14:05:58 +0530
changeset 44791 8f4cb4b4cd64
parent 44607 c0493cbb6f3c
child 44792 4345641338a3
8178954: jjs uses wrong javadoc base URL Reviewed-by: hannesw
nashorn/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Main.java
--- a/nashorn/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Main.java	Thu Apr 13 16:01:15 2017 +0000
+++ b/nashorn/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/Main.java	Wed Apr 19 14:05:58 2017 +0530
@@ -281,8 +281,7 @@
         }
     }
 
-    // FIXME: needs to be changed to use javase 9 docs later
-    private static String JAVADOC_BASE = "http://download.java.net/jdk9/docs/api/";
+    private static String JAVADOC_BASE = "https://docs.oracle.com/javase/9/docs/api/";
 
     private static void openBrowserForJavadoc(String relativeUrl) {
         try {