Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4061371

javadoc: doesn't generate fields or methods beginning with _ and $ (or Z)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.1.3
    • tools
    • generic
    • generic

      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.

            rfield Robert Field (Inactive)
            rschiavisunw Richard Schiavi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: