test/jdk/java/net/httpclient/BufferingSubscriberErrorCompleteTest.java
branchhttp-client-branch
changeset 56089 42208b2f224e
parent 55973 4d9b002587db
child 56167 96fa4f49a9ff
--- a/test/jdk/java/net/httpclient/BufferingSubscriberErrorCompleteTest.java	Tue Feb 06 19:37:56 2018 +0000
+++ b/test/jdk/java/net/httpclient/BufferingSubscriberErrorCompleteTest.java	Wed Feb 07 14:17:24 2018 +0000
@@ -34,7 +34,7 @@
 import java.util.concurrent.SubmissionPublisher;
 import java.util.function.IntSupplier;
 import java.util.stream.IntStream;
-import jdk.incubator.http.HttpResponse.BodySubscriber;
+import java.net.http.HttpResponse.BodySubscriber;
 import org.testng.annotations.DataProvider;
 import org.testng.annotations.Test;
 import static java.lang.Long.MAX_VALUE;
@@ -42,7 +42,7 @@
 import static java.lang.System.out;
 import static java.nio.ByteBuffer.wrap;
 import static java.util.concurrent.TimeUnit.SECONDS;
-import static jdk.incubator.http.HttpResponse.BodySubscriber.buffering;
+import static java.net.http.HttpResponse.BodySubscriber.buffering;
 import static org.testng.Assert.*;
 
 /*