JDK-4816483 : getDocumentBase() in applet package is broken
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 1.4.1
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2003-02-11
  • Updated: 2003-02-11
  • Resolved: 2003-02-11
Related Reports
Duplicate :  
Description

Name: gm110360			Date: 02/10/2003


FULL PRODUCT VERSION :
getDocumentBase for http://java.sun.com/products/jdk/1.2/index.html is
http://java.sun.com/products/jdk/1.2/index.html

FULL OPERATING SYSTEM VERSION : w2k


A DESCRIPTION OF THE PROBLEM :
getDocumentBase() in applet package is broken. It is
supposed to returns an absolute URL naming the directory of
the document in which the applet is embedded.

For example,
suppose an applet is contained within the
document: "http://java.sun.com/products/jdk/1.2/index.html"
The document base should
be:"http://java.sun.com/products/jdk/1.2/"  based on
documentation on SUN's web site, but now it returns
http://java.sun.com/products/jdk/1.2/index.html. please fix
it. Thanks.


REGRESSION.  Last worked in version 1.3.1

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1.Please visit 
http://lordr1.cs.qc.edu/~nixon/cs195/ascii/Lab06/ViewURLTest.html
2.
3.

REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 179771) 
======================================================================

Comments
EVALUATION This is a documentation bug. The implementation is correct. Closing as duplicate of 4710854. ###@###.### 2003-02-11
11-02-2003