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

(spec) Console.readPassword(String,Object...) contains broken links to Formatter spec

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b61
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Relative url is missing for the links 'Format string syntax' and 'Details' in the Javadoc for the method 'public char[] readPassword(String fmt, Object ... args)'.

      It should be "../util/Formatter.html#syntax" for Format string syntax and
                   "../util/Formatter.html#detail" for Details

      Please see the Javadoc comment taken from Console.java
      ============
      /**
          * Provides a formatted prompt, then reads a password or passphrase from
          * the console with echoing disabled.
          *
          * @param fmt
          * A format string as described in <a href="#syntax">Format string
          * syntax</a> for the prompt text.
      ==========
      @throws IllegalFormatException
          * If a format string contains an illegal syntax, a format
          * specifier that is incompatible with the given arguments,
          * insufficient arguments given the format string, or other
          * illegal conditions. For specification of all possible
          * formatting errors, see the <a href="#detail">Details</a>
          * section of the formatter class specification.
          *
          */
      public char[] readPassword(String fmt, Object ... args) {

      =========

        Attachments

          Activity

            People

            Assignee:
            sherman Xueming Shen
            Reporter:
            rgutupalsunw Rajendra Gutupalli (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: