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

javadoc improoperly using information from overloaded enum method

XMLWordPrintable

    • b59
    • generic
    • generic

      In addition to the automatically generated valueOf(String name) method, the java.math.RoundingMode enum has a valueOf(int rm) method. Despite having a proper @param tag, during the docs build the following warning is generated

      src/share/classes/java/math/RoundingMode.java:307: warning - @param argument "name" is not a parameter name.

      and the text for the name parameter of valueOf(String name) is used for the rm parameter of valueOf(int rm)

            jhosunw Jamie Ho (Inactive)
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: