test/jdk/com/sun/jndi/ldap/lib/LDAPTestUtils.java
branchJDK-8210696-branch
changeset 57345 ff884a2f247b
parent 48852 478e198da84b
--- a/test/jdk/com/sun/jndi/ldap/lib/LDAPTestUtils.java	Tue Apr 30 12:52:23 2019 +0100
+++ b/test/jdk/com/sun/jndi/ldap/lib/LDAPTestUtils.java	Wed May 01 00:06:22 2019 -0700
@@ -259,14 +259,7 @@
                             + "cache file " + fileName);
         }
 
-        Thread thread = new Thread(() -> {
-            try {
-                new test.LDAPServer(serverSocket, fileName);
-            } catch (Exception e) {
-                System.out.println("Warning: LDAP server running with issue");
-                e.printStackTrace();
-            }
-        });
+        Thread thread = new LdapPlaybackServer(serverSocket, fileName);
 
         thread.start();
         return thread;