RFR: 8346962: Test CRLReadTimeout.java fails with -Xcomp by fstdebug build

Mikhail Yankelevich myankelevich at openjdk.org
Wed Jul 9 08:49:44 UTC 2025


On Wed, 9 Jul 2025 02:51:54 GMT, SendaoYan <syan at openjdk.org> wrote:

>> - Adjusted timings to prevent timeouts with `Fastdebug` and `-Xcomp`
>> - Split tests into parallel runs, reducing execution time by almost three-fold
>> - Replaced wildcard imports
>> - Specified the loopback address
>> - Enabled logs for easier debugging
>
> test/jdk/sun/security/x509/URICertStore/CRLReadTimeout.java line 42:
> 
>> 40:  *          java.base/sun.security.util
>> 41:  * @library /test/lib
>> 42:  * @run main/othervm -Djava.security.debug=certpath -Dcom.sun.security.crl.readtimeout=1s
> 
> What's the difference between `-Dcom.sun.security.crl.readtimeout=1s` and `-Dcom.sun.security.crl.readtimeout=1`

Read timeout is in milliseconds by default. One is 1ms and another 1s

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/26195#discussion_r2194436270


More information about the security-dev mailing list