harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r429670 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/CharArrayWriter.java
Date Tue, 08 Aug 2006 14:49:04 GMT
Author: pyang
Date: Tue Aug  8 07:49:03 2006
New Revision: 429670

URL: http://svn.apache.org/viewvc?rev=429670&view=rev
Log:
Fix for HARMONY-1095 ([classlib][io] compatibility: RI throws OOME while HARMONY throws NPE)

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/CharArrayWriter.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/CharArrayWriter.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/CharArrayWriter.java?rev=429670&r1=429669&r2=429670&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/CharArrayWriter.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/CharArrayWriter.java
Tue Aug  8 07:49:03 2006
@@ -199,7 +199,7 @@
 	public void write(String str, int offset, int len) {
         if (str == null) {
             throw new NullPointerException(org.apache.harmony.luni.util.Msg
-                    .getString("K0347")); //$NON-NLS-1$
+                    .getString("K0047")); //$NON-NLS-1$
         }
 		// avoid int overflow
 		if (0 <= offset && offset <= str.length() && 0 <= len



Mime
View raw message