< prev index next >

test/java/net/httpclient/RequestBodyTest.java

Print this page
rev 17325 : 8181761: add explicit @build actions for jdk.test.lib classes in all :tier2 tests
Reviewed-by: duke


  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test @bug 8087112
  26  * @modules jdk.incubator.httpclient
  27  *          java.logging
  28  *          jdk.httpserver
  29  * @library /lib/testlibrary/ /test/lib
  30  * @compile ../../../com/sun/net/httpserver/LogFilter.java
  31  * @compile ../../../com/sun/net/httpserver/FileServerHandler.java







  32  * @build LightWeightHttpServer
  33  * @build jdk.testlibrary.SimpleSSLContext
  34  * @run testng/othervm RequestBodyTest
  35  */
  36 
  37 import java.io.*;
  38 import java.net.URI;
  39 import jdk.incubator.http.HttpClient;
  40 import jdk.incubator.http.HttpRequest;
  41 import jdk.incubator.http.HttpResponse;
  42 import java.nio.charset.Charset;
  43 import java.nio.charset.StandardCharsets;
  44 import java.nio.file.Files;
  45 import java.nio.file.Path;
  46 import java.nio.file.Paths;
  47 import java.util.ArrayList;
  48 import java.util.Arrays;
  49 import java.util.List;
  50 import java.util.Optional;
  51 import java.util.concurrent.ExecutorService;




  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test @bug 8087112
  26  * @modules jdk.incubator.httpclient
  27  *          java.logging
  28  *          jdk.httpserver
  29  * @library /lib/testlibrary/ /test/lib
  30  * @compile ../../../com/sun/net/httpserver/LogFilter.java
  31  * @compile ../../../com/sun/net/httpserver/FileServerHandler.java
  32  * @build jdk.test.lib.util.FileUtils
  33  * @build jdk.test.lib.Utils
  34  * @build jdk.test.lib.Asserts
  35  * @build jdk.test.lib.JDKToolFinder
  36  * @build jdk.test.lib.JDKToolLauncher
  37  * @build jdk.test.lib.Platform
  38  * @build jdk.test.lib.process.*
  39  * @build LightWeightHttpServer
  40  * @build jdk.testlibrary.SimpleSSLContext
  41  * @run testng/othervm RequestBodyTest
  42  */
  43 
  44 import java.io.*;
  45 import java.net.URI;
  46 import jdk.incubator.http.HttpClient;
  47 import jdk.incubator.http.HttpRequest;
  48 import jdk.incubator.http.HttpResponse;
  49 import java.nio.charset.Charset;
  50 import java.nio.charset.StandardCharsets;
  51 import java.nio.file.Files;
  52 import java.nio.file.Path;
  53 import java.nio.file.Paths;
  54 import java.util.ArrayList;
  55 import java.util.Arrays;
  56 import java.util.List;
  57 import java.util.Optional;
  58 import java.util.concurrent.ExecutorService;


< prev index next >