http-client-baranch: long lines http-client-branch
authorchegar
Wed, 07 Feb 2018 22:09:31 +0000
branchhttp-client-branch
changeset 56093 22d94c4a3641
parent 56092 fd85b2bf2b0d
child 56094 881f0ecb513f
http-client-baranch: long lines
test/jdk/java/net/httpclient/NoBodyPartOne.java
test/jdk/java/net/httpclient/NoBodyPartTwo.java
test/jdk/java/net/httpclient/ProxyAuthDisabledSchemes.java
test/jdk/java/net/httpclient/ProxyAuthDisabledSchemesSSL.java
test/jdk/java/net/httpclient/http2/ImplicitPushCancel.java
test/jdk/java/net/httpclient/http2/RedirectTest.java
test/jdk/java/net/httpclient/http2/ServerPush.java
test/jdk/java/net/httpclient/http2/server/Http2EchoHandler.java
--- a/test/jdk/java/net/httpclient/NoBodyPartOne.java	Wed Feb 07 21:45:37 2018 +0000
+++ b/test/jdk/java/net/httpclient/NoBodyPartOne.java	Wed Feb 07 22:09:31 2018 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -31,7 +31,10 @@
  *          java.net.http/jdk.internal.net.http.common
  *          java.net.http/jdk.internal.net.http.frame
  *          java.net.http/jdk.internal.net.http.hpack
- * @run testng/othervm -Djdk.internal.httpclient.debug=true -Djdk.httpclient.HttpClient.log=all NoBodyPartOne
+ * @run testng/othervm
+ *      -Djdk.internal.httpclient.debug=true
+ *      -Djdk.httpclient.HttpClient.log=all
+ *      NoBodyPartOne
  */
 
 import java.net.URI;
--- a/test/jdk/java/net/httpclient/NoBodyPartTwo.java	Wed Feb 07 21:45:37 2018 +0000
+++ b/test/jdk/java/net/httpclient/NoBodyPartTwo.java	Wed Feb 07 22:09:31 2018 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -31,7 +31,10 @@
  *          java.net.http/jdk.internal.net.http.common
  *          java.net.http/jdk.internal.net.http.frame
  *          java.net.http/jdk.internal.net.http.hpack
- * @run testng/othervm -Djdk.internal.httpclient.debug=true -Djdk.httpclient.HttpClient.log=all NoBodyPartTwo
+ * @run testng/othervm
+ *      -Djdk.internal.httpclient.debug=true
+ *      -Djdk.httpclient.HttpClient.log=all
+ *      NoBodyPartTwo
  */
 
 import java.io.InputStream;
--- a/test/jdk/java/net/httpclient/ProxyAuthDisabledSchemes.java	Wed Feb 07 21:45:37 2018 +0000
+++ b/test/jdk/java/net/httpclient/ProxyAuthDisabledSchemes.java	Wed Feb 07 22:09:31 2018 +0000
@@ -29,7 +29,8 @@
  *          net properties.
  * @bug 8087112
  * @library /lib/testlibrary http2/server
- * @build jdk.testlibrary.SimpleSSLContext DigestEchoServer DigestEchoClient ProxyAuthDisabledSchemes
+ * @build jdk.testlibrary.SimpleSSLContext DigestEchoServer DigestEchoClient
+ *        ProxyAuthDisabledSchemes
  * @modules java.net.http/jdk.internal.net.http.common
  *          java.net.http/jdk.internal.net.http.frame
  *          java.net.http/jdk.internal.net.http.hpack
--- a/test/jdk/java/net/httpclient/ProxyAuthDisabledSchemesSSL.java	Wed Feb 07 21:45:37 2018 +0000
+++ b/test/jdk/java/net/httpclient/ProxyAuthDisabledSchemesSSL.java	Wed Feb 07 22:09:31 2018 +0000
@@ -29,7 +29,8 @@
  *          it verifies that the client honor the jdk.http.auth.*.disabledSchemes
  *          net properties.
  * @library /lib/testlibrary http2/server
- * @build jdk.testlibrary.SimpleSSLContext DigestEchoServer DigestEchoClient ProxyAuthDisabledSchemesSSL
+ * @build jdk.testlibrary.SimpleSSLContext DigestEchoServer DigestEchoClient
+ *        ProxyAuthDisabledSchemesSSL
  * @modules java.net.http/jdk.internal.net.http.common
  *          java.net.http/jdk.internal.net.http.frame
  *          java.net.http/jdk.internal.net.http.hpack
--- a/test/jdk/java/net/httpclient/http2/ImplicitPushCancel.java	Wed Feb 07 21:45:37 2018 +0000
+++ b/test/jdk/java/net/httpclient/http2/ImplicitPushCancel.java	Wed Feb 07 22:09:31 2018 +0000
@@ -29,7 +29,10 @@
  *          java.net.http/jdk.internal.net.http.common
  *          java.net.http/jdk.internal.net.http.frame
  *          java.net.http/jdk.internal.net.http.hpack
- * @run testng/othervm -Djdk.internal.httpclient.debug=true -Djdk.httpclient.HttpClient.log=errors,requests,responses,trace ImplicitPushCancel
+ * @run testng/othervm
+ *      -Djdk.internal.httpclient.debug=true
+ *      -Djdk.httpclient.HttpClient.log=errors,requests,responses,trace
+ *      ImplicitPushCancel
  */
 
 import java.io.ByteArrayInputStream;
--- a/test/jdk/java/net/httpclient/http2/RedirectTest.java	Wed Feb 07 21:45:37 2018 +0000
+++ b/test/jdk/java/net/httpclient/http2/RedirectTest.java	Wed Feb 07 22:09:31 2018 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -30,7 +30,9 @@
  *          java.net.http/jdk.internal.net.http.common
  *          java.net.http/jdk.internal.net.http.frame
  *          java.net.http/jdk.internal.net.http.hpack
- * @run testng/othervm -Djdk.httpclient.HttpClient.log=frames,ssl,requests,responses,errors RedirectTest
+ * @run testng/othervm
+ *      -Djdk.httpclient.HttpClient.log=frames,ssl,requests,responses,errors
+ *      RedirectTest
  */
 
 import java.net.*;
--- a/test/jdk/java/net/httpclient/http2/ServerPush.java	Wed Feb 07 21:45:37 2018 +0000
+++ b/test/jdk/java/net/httpclient/http2/ServerPush.java	Wed Feb 07 22:09:31 2018 +0000
@@ -30,7 +30,9 @@
  *          java.net.http/jdk.internal.net.http.common
  *          java.net.http/jdk.internal.net.http.frame
  *          java.net.http/jdk.internal.net.http.hpack
- * @run testng/othervm -Djdk.httpclient.HttpClient.log=errors,requests,responses ServerPush
+ * @run testng/othervm
+ *      -Djdk.httpclient.HttpClient.log=errors,requests,responses
+ *      ServerPush
  */
 
 import java.io.*;
--- a/test/jdk/java/net/httpclient/http2/server/Http2EchoHandler.java	Wed Feb 07 21:45:37 2018 +0000
+++ b/test/jdk/java/net/httpclient/http2/server/Http2EchoHandler.java	Wed Feb 07 22:09:31 2018 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -31,7 +31,8 @@
     public void handle(Http2TestExchange t)
             throws IOException {
         try {
-            System.err.printf("EchoHandler received request to %s from %s\n", t.getRequestURI(), t.getRemoteAddress());
+            System.err.printf("EchoHandler received request to %s from %s\n",
+                              t.getRequestURI(), t.getRemoteAddress());
             InputStream is = t.getRequestBody();
             HttpHeadersImpl map = t.getRequestHeaders();
             HttpHeadersImpl map1 = t.getResponseHeaders();