--- a/test/jdk/java/net/httpclient/ProxyTest.java Tue Feb 06 19:37:56 2018 +0000
+++ b/test/jdk/java/net/httpclient/ProxyTest.java Wed Feb 07 14:17:24 2018 +0000
@@ -53,9 +53,9 @@
import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSession;
-import jdk.incubator.http.HttpClient;
-import jdk.incubator.http.HttpRequest;
-import jdk.incubator.http.HttpResponse;
+import java.net.http.HttpClient;
+import java.net.http.HttpRequest;
+import java.net.http.HttpResponse;
import jdk.testlibrary.SimpleSSLContext;
/**
@@ -66,7 +66,7 @@
* Verifies that downgrading from HTTP/2 to HTTP/1.1 works through
* an SSL Tunnel connection when the client is HTTP/2 and the server
* and proxy are HTTP/1.1
- * @modules jdk.incubator.httpclient
+ * @modules java.net.http
* @library /lib/testlibrary/
* @build jdk.testlibrary.SimpleSSLContext ProxyTest
* @run main/othervm ProxyTest