-
Bug
-
Resolution: Fixed
-
P3
-
9
-
Linux
-
b120
java/security/SecureRandom/Serialize.java getting time out in linux platform.
Analysis:
The test waits for Entrophy to seed itself but there is Not entropy on /dev/random on Linux.
Fix Required:
1. Call setSeed() before the 1st reseed() or nextBytes() and it will not hang.
Or,
2. Set the system property java.security.egd to /dev/urandom will get entropy from this device and it will not hang.
Analysis:
The test waits for Entrophy to seed itself but there is Not entropy on /dev/random on Linux.
Fix Required:
1. Call setSeed() before the 1st reseed() or nextBytes() and it will not hang.
Or,
2. Set the system property java.security.egd to /dev/urandom will get entropy from this device and it will not hang.
- relates to
-
JDK-8157344 Multiple test timeouts after push for JDK-8141039
-
- Closed
-