Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3
-
Resolution: Duplicate
-
Affects Version/s: 1.1.3
-
Fix Version/s: None
-
Component/s: tools
-
Labels:
-
Subcomponent:
-
CPU:generic
-
OS:generic
Description
The generated AllNames.html doesn't contain any fields or methods if any of them
begin with _ or $ characters - it can only cope with identifiers that
begin with a-zA-Z, but _ and $ are also valid, as defined in the
language spec. Here's a simple test case, _bug.java:
public class _bug {}
Run "javadoc _bug.java" and look at the AllNames.html file; it won't
list any identifiers. This is on Solaris, JDK 1.1.1 (and 1.1.2), but
as it's the shared code it's applicable to all platforms.
begin with _ or $ characters - it can only cope with identifiers that
begin with a-zA-Z, but _ and $ are also valid, as defined in the
language spec. Here's a simple test case, _bug.java:
public class _bug {}
Run "javadoc _bug.java" and look at the AllNames.html file; it won't
list any identifiers. This is on Solaris, JDK 1.1.1 (and 1.1.2), but
as it's the shared code it's applicable to all platforms.
Attachments
Issue Links
- duplicates
-
JDK-4060225 javadoc silently fails to produce an index of all methods
-
- Closed
-