test/jdk/javax/net/ssl/ServerName/SSLSocketExplorerFailure.java
changeset 50768 68fa3d4026ea
parent 47216 71c04702a3d5
equal deleted inserted replaced
50767:356eaea05bf0 50768:68fa3d4026ea
    43 import java.nio.*;
    43 import java.nio.*;
    44 import java.nio.channels.*;
    44 import java.nio.channels.*;
    45 import java.util.*;
    45 import java.util.*;
    46 import java.net.*;
    46 import java.net.*;
    47 import javax.net.ssl.*;
    47 import javax.net.ssl.*;
       
    48 import java.security.Security;
    48 
    49 
    49 public class SSLSocketExplorerFailure {
    50 public class SSLSocketExplorerFailure {
    50 
    51 
    51     /*
    52     /*
    52      * =============================================================
    53      * =============================================================
   230 
   231 
   231     volatile Exception serverException = null;
   232     volatile Exception serverException = null;
   232     volatile Exception clientException = null;
   233     volatile Exception clientException = null;
   233 
   234 
   234     public static void main(String[] args) throws Exception {
   235     public static void main(String[] args) throws Exception {
       
   236         Security.setProperty("jdk.tls.disabledAlgorithms", "");
       
   237         Security.setProperty("jdk.certpath.disabledAlgorithms", "");
       
   238 
   235         String keyFilename =
   239         String keyFilename =
   236             System.getProperty("test.src", ".") + "/" + pathToStores +
   240             System.getProperty("test.src", ".") + "/" + pathToStores +
   237                 "/" + keyStoreFile;
   241                 "/" + keyStoreFile;
   238         String trustFilename =
   242         String trustFilename =
   239             System.getProperty("test.src", ".") + "/" + pathToStores +
   243             System.getProperty("test.src", ".") + "/" + pathToStores +