commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
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

     [ https://issues.apache.org/jira/browse/MATH-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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
http://commons.apache.org/math/userguide/random.html
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: 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