RFR[15] JDK-8242538: java/security/SecureRandom/ThreadSafe.java failed on windows

Sean Mullan sean.mullan at oracle.com
Mon Jul 6 16:56:25 UTC 2020


Looks ok to me. Please add a noreg-self label.

--Sean

On 7/5/20 10:28 PM, sha.jiang at oracle.com wrote:
> Hi,
> This test failed due to the expected concurrency issue didn't raise.
> This patch may mitigate this test failure.
> 
> diff -r 7a61a943ce9d test/jdk/java/security/SecureRandom/ThreadSafe.java
> --- a/test/jdk/java/security/SecureRandom/ThreadSafe.java    Sat Jul 04 
> 01:06:07 2020 -0700
> +++ b/test/jdk/java/security/SecureRandom/ThreadSafe.java    Mon Jul 06 
> 10:15:55 2020 +0800
> @@ -1,5 +1,5 @@
>   /*
> - * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
> + * Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights 
> reserved.
>    * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
>    *
>    * This code is free software; you can redistribute it and/or modify it
> @@ -87,7 +87,7 @@
>               }
>               inCall = true;
>               try {
> -                Thread.sleep(100);
> +                Thread.sleep(500);
>               } catch (Exception e) {
>                   // OK
>               }
> 
> Best regards,
> John Jiang
> 



More information about the security-dev mailing list