Skip to content

Commit 1642941

Browse files
committed
Increase Deadlock test timeout for FIPS
In weak fips mode -Dsemeru.fips=true -Dsemeru.customprofile=OpenJCEPlusFIPS there is a bit more processing to be done during startup to load and read the FIPS profiles from the java.security file and setup the JCE algorithms and providers available according to the profile. Signed-off-by: Jason Feng <[email protected]>
1 parent 492e201 commit 1642941

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/jdk/java/security/Security/ClassLoaderDeadlock/Deadlock.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,18 @@
2121
* questions.
2222
*/
2323

24+
/*
25+
* ===========================================================================
26+
* (c) Copyright IBM Corp. 2025, 2025 All Rights Reserved
27+
* ===========================================================================
28+
*/
29+
2430
/*
2531
* @test
2632
* @bug 4944382
2733
* @summary make sure we do not deadlock loading signed JAR with getInstance()
2834
* @library ./Deadlock.jar
29-
* @run main/othervm/timeout=30 Deadlock
35+
* @run main/othervm/timeout=60 Deadlock
3036
*/
3137

3238
import java.security.*;

0 commit comments

Comments
 (0)