To test a 3% or 10% chance of 64-bits serial number, I don't think the test really make sense now. I would prefer to drop this test, or just keep the positive value checking (one cert only).

If you want to keep it, the code looks good to me.

Xuelei

On 4/12/2019 12:59 AM, Weijun Wang wrote:
Please take a review at

    https://cr.openjdk.java.net/~weijun/8222275/webrev.00/

Now the test would generate 10 to 30 certs. It could still fail, but the 
probably is extremely small now (2^-30 is 10^-9).

And the test would succeed early if a 64 bit SN is found.

Thanks,
Max

Reply via email to