test/java/security/spec/EllipticCurveMatch.java othervm?

Vincent Ryan vincent.x.ryan at oracle.com
Wed Jun 15 02:11:55 PDT 2011


On 06/15/11 10:04, Weijun Wang wrote:
> Oh, is it possible to use a non-Secure Random?

Since it's just a test: yes. Or even use fixed seed values and avoid
(Secure)Random entirely. The test was contributed so I didn't alter
it significantly.


> 
> Thanks
> Max
> 
> 
> On 06/15/2011 05:00 PM, Vincent Ryan wrote:
>> On 06/15/11 09:45, Weijun Wang wrote:
>>> Hi Vinnie
>>>
>>> Why does this test run in /othervm mode?
>>>
>>> Thanks
>>> Max
>>
>> It was failing due to SecureRandom problems on some platforms when run in samevm
>> mode. I think it was related to a lack of entropy.




More information about the security-dev mailing list