--- a/test/jdk/java/net/httpclient/BasicAuthTest.java Tue Feb 06 19:37:56 2018 +0000
+++ b/test/jdk/java/net/httpclient/BasicAuthTest.java Wed Feb 07 14:17:24 2018 +0000
@@ -24,7 +24,7 @@
/**
* @test
* @bug 8087112
- * @modules jdk.incubator.httpclient
+ * @modules java.net.http
* jdk.httpserver
* @run main/othervm BasicAuthTest
* @summary Basic Authentication Test
@@ -41,12 +41,12 @@
import java.net.InetSocketAddress;
import java.net.PasswordAuthentication;
import java.net.URI;
-import jdk.incubator.http.*;
+import java.net.http.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import static java.nio.charset.StandardCharsets.US_ASCII;
-import static jdk.incubator.http.HttpRequest.BodyPublisher.fromString;
-import static jdk.incubator.http.HttpResponse.BodyHandler.asString;
+import static java.net.http.HttpRequest.BodyPublisher.fromString;
+import static java.net.http.HttpResponse.BodyHandler.asString;
public class BasicAuthTest {