harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r542433 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/StreamTokenizer.java
Date Tue, 29 May 2007 06:58:49 GMT
Author: pyang
Date: Mon May 28 23:58:47 2007
New Revision: 542433

URL: http://svn.apache.org/viewvc?view=rev&rev=542433
Log:
Apply patch for HARMONY-3880(classlib][luni] Compatibility: StreamTokenizer.toString() returns
different values on Harmony and RI if current token is a string constant)

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

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/StreamTokenizer.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/StreamTokenizer.java?view=diff&rev=542433&r1=542432&r2=542433
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/StreamTokenizer.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/StreamTokenizer.java
Mon May 28 23:58:47 2007
@@ -607,9 +607,7 @@
                 result.append(sval);
                 break;
             default:
-                result.append('\'');
-                result.append((char) ttype);
-                result.append('\'');
+                result.append(sval);
                 break;
         }
         result.append("], line "); //$NON-NLS-1$



Mime
View raw message