Details
-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 20
-
b14
-
windows
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8299464 | 17.0.7-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
JDK-8301713 | 17.0.7 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
Description
SignTwice test takes a few minutes to complete on Windows; on other OSes it usually finishes under a minute.
The test repeatedly runs jarsigner with different parameters; it also adds -J-Djava.security.egd=file:/dev/./urandom to the command line. That parameter adds a few seconds to the tool startup time. Removing that parameter or changing its value to file:/dev/urandom (without the dot in the middle) allows the test to complete under a minute, similar to other platforms.
The test repeatedly runs jarsigner with different parameters; it also adds -J-Djava.security.egd=file:/dev/./urandom to the command line. That parameter adds a few seconds to the tool startup time. Removing that parameter or changing its value to file:/dev/urandom (without the dot in the middle) allows the test to complete under a minute, similar to other platforms.
Attachments
Issue Links
- backported by
-
JDK-8299464 jdk/sun/security/tools/jarsigner/compatibility/SignTwice.java slow on Windows
- Resolved
-
JDK-8301713 jdk/sun/security/tools/jarsigner/compatibility/SignTwice.java slow on Windows
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/38eb0d6c
-
Commit openjdk/jdk/205f992e
-
Review openjdk/jdk17u-dev/1139
-
Review openjdk/jdk/10160
(1 links to)