--- a/test/jdk/java/net/httpclient/FlowAdapterPublisherTest.java Tue Feb 06 19:37:56 2018 +0000
+++ b/test/jdk/java/net/httpclient/FlowAdapterPublisherTest.java Wed Feb 07 14:17:24 2018 +0000
@@ -39,9 +39,9 @@
import com.sun.net.httpserver.HttpServer;
import com.sun.net.httpserver.HttpsConfigurator;
import com.sun.net.httpserver.HttpsServer;
-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;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
@@ -50,8 +50,8 @@
import javax.net.ssl.SSLContext;
import static java.util.stream.Collectors.joining;
import static java.nio.charset.StandardCharsets.UTF_8;
-import static jdk.incubator.http.HttpRequest.BodyPublisher.fromPublisher;
-import static jdk.incubator.http.HttpResponse.BodyHandler.asString;
+import static java.net.http.HttpRequest.BodyPublisher.fromPublisher;
+import static java.net.http.HttpResponse.BodyHandler.asString;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertThrows;
import static org.testng.Assert.assertTrue;
@@ -61,9 +61,9 @@
* @test
* @summary Basic tests for Flow adapter Publishers
* @modules java.base/sun.net.www.http
- * jdk.incubator.httpclient/jdk.incubator.http.internal.common
- * jdk.incubator.httpclient/jdk.incubator.http.internal.frame
- * jdk.incubator.httpclient/jdk.incubator.http.internal.hpack
+ * java.net.http/java.net.http.internal.common
+ * java.net.http/java.net.http.internal.frame
+ * java.net.http/java.net.http.internal.hpack
* java.logging
* jdk.httpserver
* @library /lib/testlibrary http2/server