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

There is incorrect statement at getSeed() of java.security.SecureRandom in 5.0 API document(jp)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0u8
    • 5.0u7
    • globalization
    • b01
    • generic
    • generic

      There is an incorrect sentence at getSeed() of java.security.SecureRandom API 5.0(Japanese)

      The last sentence of the getSeed() explanation in http://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/security/SecureRandom.html#getSeed(int)

      "...and then call the setSeed method to obtain seed bytes from that object."
                           ^^^^^^^^

      However, the sentence in http://java.sun.com/j2se/1.5.0/docs/api/java/security/SecureRandom.html#getSeed(int)

      "...and then call the generateSeed method to obtain seed bytes from that object."
                            ^^^^^^^^^^^^
      The japanese API document should be changed.

            duke J. Duke
            tbaba Tadayuki Baba (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: