commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michiel Kalkman (JIRA)" <j...@apache.org>
Subject [jira] Created: (MATH-208) Random package does not support classes derived from java.util.Random
Date Fri, 06 Jun 2008 10:10:46 GMT
Random package does not support classes derived from java.util.Random
---------------------------------------------------------------------

                 Key: MATH-208
                 URL: https://issues.apache.org/jira/browse/MATH-208
             Project: Commons Math
          Issue Type: Wish
            Reporter: Michiel Kalkman
            Priority: Trivial


JDK 1.5 introduces SecureRandom, see http://java.sun.com/javase/6/docs/api/java/security/SecureRandom.html.

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.


Mime
View raw message