harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhouke...@apache.org
Subject svn commit: r795700 - /harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AbstractPreferencesTest.java
Date Mon, 20 Jul 2009 06:20:38 GMT
Author: zhoukevin
Date: Mon Jul 20 06:20:38 2009
New Revision: 795700

URL: http://svn.apache.org/viewvc?rev=795700&view=rev
Log:
Fix test failure of AbstractPreferencesTest in PREFS module for z/OS

Modified:
    harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AbstractPreferencesTest.java

Modified: harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AbstractPreferencesTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AbstractPreferencesTest.java?rev=795700&r1=795699&r2=795700&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AbstractPreferencesTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AbstractPreferencesTest.java
Mon Jul 20 06:20:38 2009
@@ -329,7 +329,7 @@
         // "abc"
 
         pref.put("testGetByteArrayKey", "abc=");
-        pref.put("testGetByteArrayKey2", new String(b64Array));
+        pref.put("testGetByteArrayKey2", new String(b64Array, "UTF-8"));
         pref.put("invalidKey", "<>?");
         // assertTrue(Arrays.equals(new byte[0], p.getByteArray(
         // "testGetByteArrayKey", new byte[0])));



Mime
View raw message