Skip to content
Permalink
Browse files
8282398: EndingDotHostname.java test fails because SSL cert expired
Reviewed-by: xuelei
  • Loading branch information
rhalade committed Feb 26, 2022
1 parent cf6d256 commit afd4bcbc1d1b2a8a1c29005878c8e06c662a1f6e
Showing 2 changed files with 200 additions and 172 deletions.
@@ -23,14 +23,13 @@

/**
* @test
* @bug 8806542
* @bug 8065422
* @summary Trailing dot in hostname causes TLS handshake to fail
* @library /javax/net/ssl/templates
* @run main/othervm -Djdk.net.hosts.file=hostsForExample EndingDotHostname
*/

import javax.net.ssl.*;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.*;

1 comment on commit afd4bcb

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on afd4bcb Feb 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.