11/*
2- * Copyright (c) 2014, 2019 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2014, 2020 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
2323
2424/*
2525 * @test
26- * @bug 8049432 8069038 8234723
26+ * @bug 8049432 8069038 8234723 8202343
2727 * @summary New tests for TLS property jdk.tls.client.protocols
2828 * @summary javax/net/ssl/TLS/TLSClientPropertyTest.java needs to be
2929 * updated for JDK-8061210
@@ -79,7 +79,7 @@ public static void main(String[] args) throws Exception {
7979 }
8080 contextProtocol = null ;
8181 expectedDefaultProtos = new String [] {
82- "TLSv1" , "TLSv1.1" , "TLSv1 .2" , "TLSv1.3"
82+ "TLSv1.2" , "TLSv1.3"
8383 };
8484 break ;
8585 case "SSLv3" :
@@ -90,26 +90,24 @@ public static void main(String[] args) throws Exception {
9090 case "TLSv1" :
9191 contextProtocol = "TLSv1" ;
9292 expectedDefaultProtos = new String [] {
93- "TLSv1"
9493 };
9594 break ;
9695 case "TLSv11" :
9796 contextProtocol = "TLSv1.1" ;
9897 expectedDefaultProtos = new String [] {
99- "TLSv1" , "TLSv1.1"
10098 };
10199 break ;
102100 case "TLSv12" :
103101 contextProtocol = "TLSv1.2" ;
104102 expectedDefaultProtos = new String [] {
105- "TLSv1" , "TLSv1.1" , "TLSv1 .2"
103+ "TLSv1.2"
106104 };
107105 break ;
108106 case "TLSv13" :
109107 case "TLS" :
110108 contextProtocol = "TLSv1.3" ;
111109 expectedDefaultProtos = new String [] {
112- "TLSv1" , "TLSv1.1" , "TLSv1 .2" , "TLSv1.3"
110+ "TLSv1.2" , "TLSv1.3"
113111 };
114112 break ;
115113 case "WrongProperty" :
0 commit comments