8154487: java.httpclient/sun.net.httpclient.hpack.DecoderTest failing on Windows
authorprappo
Tue, 19 Apr 2016 12:20:26 +0100
changeset 37538 feed20ba7a0c
parent 37537 0af4cc7d6f54
child 37539 fc220bc54b59
8154487: java.httpclient/sun.net.httpclient.hpack.DecoderTest failing on Windows Reviewed-by: chegar
jdk/src/java.httpclient/share/classes/sun/net/httpclient/hpack/HeaderTable.java
--- a/jdk/src/java.httpclient/share/classes/sun/net/httpclient/hpack/HeaderTable.java	Tue Apr 19 01:40:13 2016 -0700
+++ b/jdk/src/java.httpclient/share/classes/sun/net/httpclient/hpack/HeaderTable.java	Tue Apr 19 12:20:26 2016 +0100
@@ -269,7 +269,7 @@
         StringBuilder b = new StringBuilder();
         for (int i = 1, size = dynamicTable.size(); i <= size; i++) {
             HeaderField e = dynamicTable.get(i);
-            b.append(format("[%3d] (s = %3d) %s: %s%n", i,
+            b.append(format("[%3d] (s = %3d) %s: %s\n", i,
                     sizeOf(e), e.name, e.value));
         }
         b.append(format("      Table size:%4s", this.size));