1
1
/*
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.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
23
23
24
24
/*
25
25
* @test
26
- * @bug 8049432 8069038 8234723
26
+ * @bug 8049432 8069038 8234723 8202343
27
27
* @summary New tests for TLS property jdk.tls.client.protocols
28
28
* @summary javax/net/ssl/TLS/TLSClientPropertyTest.java needs to be
29
29
* updated for JDK-8061210
@@ -79,7 +79,7 @@ public static void main(String[] args) throws Exception {
79
79
}
80
80
contextProtocol = null ;
81
81
expectedDefaultProtos = new String [] {
82
- "TLSv1" , "TLSv1.1" , "TLSv1 .2" , "TLSv1.3"
82
+ "TLSv1.2" , "TLSv1.3"
83
83
};
84
84
break ;
85
85
case "SSLv3" :
@@ -90,26 +90,24 @@ public static void main(String[] args) throws Exception {
90
90
case "TLSv1" :
91
91
contextProtocol = "TLSv1" ;
92
92
expectedDefaultProtos = new String [] {
93
- "TLSv1"
94
93
};
95
94
break ;
96
95
case "TLSv11" :
97
96
contextProtocol = "TLSv1.1" ;
98
97
expectedDefaultProtos = new String [] {
99
- "TLSv1" , "TLSv1.1"
100
98
};
101
99
break ;
102
100
case "TLSv12" :
103
101
contextProtocol = "TLSv1.2" ;
104
102
expectedDefaultProtos = new String [] {
105
- "TLSv1" , "TLSv1.1" , "TLSv1 .2"
103
+ "TLSv1.2"
106
104
};
107
105
break ;
108
106
case "TLSv13" :
109
107
case "TLS" :
110
108
contextProtocol = "TLSv1.3" ;
111
109
expectedDefaultProtos = new String [] {
112
- "TLSv1" , "TLSv1.1" , "TLSv1 .2" , "TLSv1.3"
110
+ "TLSv1.2" , "TLSv1.3"
113
111
};
114
112
break ;
115
113
case "WrongProperty" :
0 commit comments