--- a/jdk/test/com/sun/net/httpserver/Test12.java Mon Aug 25 18:17:24 2014 +0200
+++ b/jdk/test/com/sun/net/httpserver/Test12.java Tue Aug 26 10:10:58 2014 +0100
@@ -24,6 +24,8 @@
/**
* @test
* @bug 6270015
+ * @library /lib/testlibrary/
+ * @build jdk.testlibrary.SimpleSSLContext
* @run main/othervm Test12
* @summary Light weight HTTP server
*/
@@ -34,6 +36,7 @@
import java.io.*;
import java.net.*;
import javax.net.ssl.*;
+import jdk.testlibrary.SimpleSSLContext;
/* basic http/s connectivity test
* Tests:
@@ -62,7 +65,7 @@
executor = Executors.newCachedThreadPool();
s1.setExecutor (executor);
s2.setExecutor (executor);
- ctx = new SimpleSSLContext(System.getProperty("test.src")).get();
+ ctx = new SimpleSSLContext().get();
s2.setHttpsConfigurator(new HttpsConfigurator (ctx));
s1.start();
s2.start();