8242538: java/security/SecureRandom/ThreadSafe.java failed on windows

Reviewed-by: mullan
This commit is contained in:
John Jiang 2020-07-07 06:06:18 +08:00
parent a8d20c9254
commit 45fce6baf9

View File

@ -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 @@ public class ThreadSafe {
}
inCall = true;
try {
Thread.sleep(100);
Thread.sleep(500);
} catch (Exception e) {
// OK
}