Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4136244
Votes 0
Synopsis -private adds junk to list of inherited methods from Object
Category doclet:tbd
Reported Against 1.2rc1 , 1.2beta3
Release Fixed
State 11-Closed, duplicate of 4214932, request for enhancement
Priority: 3-Medium
Related Bugs 4136861 , 4186650 , 4214932
Submit Date 07-MAY-1998
Description
 | * When I use -private, I get: 
 | 
 |     Methods inherited from class java.lang.Object 
 |       , clone, equals, finalize, getClass, hashCode, notify, notifyAll,
 |       registerNatives, toString, wait, wait, wait
 | 
 |   Notice that initial "," which is wrong.
Work Around
N/A
Evaluation
We believe that the extra comma, is due to the presence of the "static" initializer: 

    static { ... } 
    
and is not due to the -private option.
    
    See bug: 4136861

  xxxxx@xxxxx  
  xxxxx@xxxxx      

Closing this out as a dupe of 4214932 (says Robert)
  xxxxx@xxxxx   1999-04-27
Comments
  
  Include a link with my name & email   

Submitted On 01-DEC-2000
Reg Whitton
I am getting this initial comma, but I am using -package 
and -linkoffline options on the JDK 1.2.2-004 installed 
with JBuilder 3.5.  It seems to appear for every class no 
matter if it has a static initializer or not, but only 
in "Methods inherited from class java.lang.Object".

In the html I see:
&ltA 
HREF="http://java.sun.com/products/jdk/1.2/docs/api/package-
list/java/lang/Object.html#&ltclinit&gt
()"&gt&ltclinit&gt&lt/A&gt, 

In the JBuilder doc viewer it appears as a link to:
()"&lt



PLEASE NOTE: JDK6 is formerly known as Project Mustang