[ 
https://issues.apache.org/jira/browse/CRYPTO-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15259791#comment-15259791
 ] 

Sebb commented on CRYPTO-34:
----------------------------

Looks OK apart from the use of the generic Exception. Better to use a more 
spefic one.

> JavaSecureRandom should throw Exception if it cannot create the instance
> ------------------------------------------------------------------------
>
>                 Key: CRYPTO-34
>                 URL: https://issues.apache.org/jira/browse/CRYPTO-34
>             Project: Commons Crypto
>          Issue Type: Bug
>          Components: SecureRandom
>    Affects Versions: 1.0.0
>            Reporter: Sebb
>            Assignee: Dapeng Sun
>             Fix For: 1.1.0
>
>
> JavaSecureRandom should throw Exception if it cannot create the instance - 
> there's no point in continuing as the main method nextBytes() will just throw 
> NPE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to