JDK-4507507 : JavaScript error with javadoc
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2001-09-26
  • Updated: 2014-05-05
  • Resolved: 2002-06-12
Related Reports
Duplicate :  
Description

Name: rmT116609			Date: 09/26/2001


java -version "1.4.0-beta2"
Java(TM) 2 Runtime Enviornment, Standard Edition (build 1.4.0-beta2-b77)
Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)

was not sure how to reference this issue in a title. anyways, i am running a
command like this

javadoc -link http://java.sun.com/j2se/1.4/docs/api/ -sourcepath /home/dir/
com.hostname.A com.hostname.B

everything works great. All core API package classes have links and they work.
But they give me a javascript error. It appears, from my days of javascript,
that sun is not allowing me to load there page within my frame. I am not
loading my API via a web server...just locally. The error says access denied. I
click okay and everything from that point foward is fine.

the error does specifiy a line number w/i the html..here it is
<SCRIPT>
function asd()
{
parent.document.title="Exception (Java 2 Platform SE v1.4.0)";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">

maybe my browser is angry that sun's page is trying to adjust my parent window.
could be my end...i dont know

using Internet Explorer 5.50.4522.1800
(Review ID: 131977) 
======================================================================