SecureRandom::getSeed(num) not specified if num is negative

XMLWordPrintable

      SecureRandom::getSeed(num) always calls SecureRandom::generateSeed(num). In JDK-8051408, generateSeed() was updated to throw an IllegalArgumentException if num is negative (before it, a NegativeArraySizeException was thrown) and it was specified to do so. However, spec for getSeed() was not updated.

            Assignee:
            Weijun Wang
            Reporter:
            Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: