-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P3
-
Affects Version/s: 9
-
Component/s: security-libs
javax/net/ssl/sanity/interop/CipherTest.java
sun/security/pkcs11/fips/CipherTest.java
sun/security/pkcs11/sslecc/CipherTest.java
The above tests have a similar code pattern, as shown as below:
CipherTest cipherTest = new CipherTest(peerFactory);
Thread serverThread = new Thread(peerFactory.newServer(cipherTest),
"Server");
serverThread.setDaemon(true);
serverThread.start();
System.out.println("Done");
cipherTest.run();
cipherTest may run before the server is ready.
sun/security/pkcs11/fips/CipherTest.java
sun/security/pkcs11/sslecc/CipherTest.java
The above tests have a similar code pattern, as shown as below:
CipherTest cipherTest = new CipherTest(peerFactory);
Thread serverThread = new Thread(peerFactory.newServer(cipherTest),
"Server");
serverThread.setDaemon(true);
serverThread.start();
System.out.println("Done");
cipherTest.run();
cipherTest may run before the server is ready.