test/jdk/javax/net/ssl/TLS/TestJSSEServerProtocol.java
changeset 59316 753ab8dcdbba
parent 47216 71c04702a3d5
--- a/test/jdk/javax/net/ssl/TLS/TestJSSEServerProtocol.java	Fri Nov 29 14:07:16 2019 +0800
+++ b/test/jdk/javax/net/ssl/TLS/TestJSSEServerProtocol.java	Thu Nov 28 22:29:07 2019 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 8049429
+ * @bug 8049429 8234723
  * @modules java.management
  *          jdk.crypto.ec/sun.security.ec
  * @summary Test that all cipher suites work in all versions and all client
@@ -38,16 +38,26 @@
  * @run main/othervm
  *              -DSERVER_PROTOCOL=TLSv1
  *              -DCLIENT_PROTOCOL=SSLv3,TLSv1,TLSv1.1,TLSv1.2
- *              -DCIPHER=SSL_RSA_WITH_RC4_128_MD5
+ *              -DCIPHER=TLS_RSA_WITH_AES_128_CBC_SHA
  *          TestJSSE
  * @run main/othervm
  *              -DSERVER_PROTOCOL=TLSv1.1
  *              -DCLIENT_PROTOCOL=SSLv3,TLSv1,TLSv1.1,TLSv1.2
- *              -DCIPHER=SSL_RSA_WITH_RC4_128_MD5
+ *              -DCIPHER=TLS_RSA_WITH_AES_256_CBC_SHA
  *          TestJSSE
  * @run main/othervm
  *              -DSERVER_PROTOCOL=TLSv1.2
  *              -DCLIENT_PROTOCOL=SSLv3,TLSv1,TLSv1.1,TLSv1.2
- *              -DCIPHER=SSL_RSA_WITH_RC4_128_MD5
+ *              -DCIPHER=TLS_RSA_WITH_AES_128_GCM_SHA256
+ *          TestJSSE
+ * @run main/othervm
+ *              -DSERVER_PROTOCOL=TLSv1.3
+ *              -DCLIENT_PROTOCOL=SSLv3,TLSv1,TLSv1.1,TLSv1.2,TLSv1.3
+ *              -DCIPHER=TLS_AES_256_GCM_SHA384
  *          TestJSSE
+ * @run main/othervm
+ *              -DSERVER_PROTOCOL=TLSv1.2
+ *              -DCLIENT_PROTOCOL=TLSv1.3
+ *              -DCIPHER=TLS_AES_256_GCM_SHA384
+ *          TestJSSE javax.net.ssl.SSLHandshakeException
  */