Skip to content

Commit 3945ccb

Browse files
Roman MarchenkoYuri Nesterenko
authored andcommitted
8282511: Use fixed certificate validation date in SSLExampleCert template
Backport-of: 268fa693188b685de6289927ee5a1e99473a50f6
1 parent be88f6d commit 3945ccb

File tree

2 files changed

+216
-181
lines changed

2 files changed

+216
-181
lines changed

test/jdk/javax/net/ssl/ServerName/EndingDotHostname.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
* @bug 8065422
2727
* @summary Trailing dot in hostname causes TLS handshake to fail
2828
* @library /javax/net/ssl/templates
29-
* @run main/othervm -Djdk.net.hosts.file=hostsForExample EndingDotHostname
29+
* @run main/othervm --add-opens java.base/sun.security.ssl=ALL-UNNAMED
30+
* -Djdk.net.hosts.file=hostsForExample EndingDotHostname
3031
*/
3132

3233
import javax.net.ssl.*;

0 commit comments

Comments
 (0)