harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r792112 - /harmony/enhanced/classlib/trunk/support/src/test/java/tests/support/Support_HttpTests.java
Date Wed, 08 Jul 2009 12:27:02 GMT
Author: odeakin
Date: Wed Jul  8 12:27:02 2009
New Revision: 792112

URL: http://svn.apache.org/viewvc?rev=792112&view=rev
Log:
Make encoding consistent with rest of runTests() method.

Modified:
    harmony/enhanced/classlib/trunk/support/src/test/java/tests/support/Support_HttpTests.java

Modified: harmony/enhanced/classlib/trunk/support/src/test/java/tests/support/Support_HttpTests.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/support/src/test/java/tests/support/Support_HttpTests.java?rev=792112&r1=792111&r2=792112&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/support/src/test/java/tests/support/Support_HttpTests.java
(original)
+++ harmony/enhanced/classlib/trunk/support/src/test/java/tests/support/Support_HttpTests.java
Wed Jul  8 12:27:02 2009
@@ -257,9 +257,9 @@
 			connector.open(postTestUrl);
 			connector.setRequestProperty("Content-Length", "10");
 			os = connector.getOutputStream();
-			os.write(message1.getBytes());
+			os.write(message1.getBytes("ISO8859_1"));
 			os.flush();
-			os.write(message2.getBytes());
+			os.write(message2.getBytes("ISO8859_1"));
 			os.close();
 			is = connector.getInputStream();
 			len = 0;



Mime
View raw message