db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r675983 - /db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClobTest.java
Date Fri, 11 Jul 2008 15:10:17 GMT
Author: kmarsden
Date: Fri Jul 11 08:10:17 2008
New Revision: 675983

URL: http://svn.apache.org/viewvc?rev=675983&view=rev
Log:
DERBY-3774  jdbc4/ClobTest fails on Zos with AssertionFailedError: Streams differ at index
0 expected:<200> but was:<72>


Modified:
    db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClobTest.java

Modified: db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClobTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClobTest.java?rev=675983&r1=675982&r2=675983&view=diff
==============================================================================
--- db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClobTest.java
(original)
+++ db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClobTest.java
Fri Jul 11 08:10:17 2008
@@ -558,7 +558,7 @@
          //that is obtained from the Blob after
          //the update.
          ByteArrayInputStream str_is = new ByteArrayInputStream
-                 (str.getBytes());
+                 (str.getBytes("US-ASCII"));
          
          //create the empty Clob.
          Clob clob = getConnection().createClob();



Mime
View raw message