-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.3.0
-
x86
-
windows_2000
Name: bsC130419 Date: 06/22/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)
======================================================================
- duplicates
-
JDK-4456112 stddoclet: javadoc does not document fields/methods for private inner classes
-
- Closed
-