Merge
authoralanb
Fri, 10 Sep 2010 18:50:52 +0100
changeset 6539 874f52171965
parent 6538 cb0da65ba680 (current diff)
parent 6536 2694e08f83ea (diff)
child 6540 a4ae668f6125
Merge
--- a/jdk/test/sun/net/www/http/ChunkedInputStream/ChunkedEncodingTest.java	Fri Sep 10 18:48:49 2010 +0100
+++ b/jdk/test/sun/net/www/http/ChunkedInputStream/ChunkedEncodingTest.java	Fri Sep 10 18:50:52 2010 +0100
@@ -38,7 +38,7 @@
 
 public class ChunkedEncodingTest{
     private static MessageDigest serverDigest, clientDigest;
-    private static byte[] serverMac, clientMac;
+    private static volatile byte[] serverMac, clientMac;
 
     static void client(String u) throws Exception {
         URL url = new URL(u);
@@ -106,7 +106,7 @@
             while (is.read() != -1);
             is.close();
 
-            t.sendResponseHeaders (200, MESSAGE_LENGTH);
+            t.sendResponseHeaders (200, 0);
             OutputStream os = t.getResponseBody();
             DigestOutputStream dos = new DigestOutputStream(os, serverDigest);