JDK-4456112 : stddoclet: javadoc does not document fields/methods for private inner classes
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 1.3.0,1.3.1,1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS:
    solaris_2.6,solaris_8,windows_nt, ... solaris_2.6,solaris_8,windows_nt,windows_2000
  • CPU: x86,sparc
  • Submitted: 2001-05-08
  • Updated: 2014-05-05
  • Resolved: 2001-06-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.0 beta2Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Description
Name: bsC130419			Date: 05/08/2001


java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)


Running "javadoc -private Test.java" on the file below (named Test.java) will
produce a class documentation page (Test.InnerText.html) for the inner class
Test.InnerText, but the field "myField" and the method "myMethod" will not be
documented. Only the fields (i.e. none) and methods inherited from
java.lang.Object will be there. "myField" and "myMethod" will, however, appear
with correct links in the "index-all.html" page.


class Test {

	/** This is a private inner class */
	private class InnerText {
	
	        /** This is an inner field */
		public int myField;

		/** This is an inner method */
		public void setField(int value) {
			myField = value;
		}
	}
}
(Review ID: 123863) 
======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin-beta2 FIXED IN: merlin-beta2 INTEGRATED IN: merlin-beta2 VERIFIED IN: merlin-beta3
14-06-2004

PUBLIC COMMENTS Will investigate and fix for 1.4 beta jamie.ho@Eng 2001-05-14 This bug has been fixed. jamie.ho@Eng 2001-05-17
14-05-2001

EVALUATION I have verified that the information is returned by the API, so this must be a doclet problem. neal.gafter@Eng 2001-05-09 This bug has been fixed. Location of fix: VisibleMemberMap.java jamie.ho@Eng 2001-05-17
09-05-2001