commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <>
Subject [jira] Closed: (MATH-208) Random package does not support classes derived from java.util.Random
Date Sun, 13 Jul 2008 04:43:31 GMT


Phil Steitz closed MATH-208.

    Resolution: Invalid

This is a question for the user list.  First have a look at the user guide, in particular
and the section on pluggability. RandomDataImpl, in its default implementation, provides "nextSecureXxx"
methods using SecureRandom.  

Reopen if I am missing the point here - i.e., there is something you want to do that cannot
be accomplished with the current API.

> Random package does not support classes derived from java.util.Random
> ---------------------------------------------------------------------
>                 Key: MATH-208
>                 URL:
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Michiel Kalkman
>            Priority: Trivial
> JDK 1.5 introduces SecureRandom, see
> However, it seems impossible to use this class (or any other java.util.Random derived
instance) in combination with commons math random functionality. 
> Is it possible to adapt JDKRandomGenerator to have a constructor accepting any java.util.Random
instance ?
> I guess JDKRandomGenerator can be more or less adapted with code from RandomAdaptor (which
accepts RandomGenerators btw, confusing !).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message