[kaffe] CVS kaffe (robilad): fixlet for mauve test failure

Kaffe CVS cvs-commits at kaffe.org
Mon Feb 13 16:37:46 PST 2006


PatchSet 7132 
Date: 2006/02/14 00:21:52
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
fixlet for mauve test failure

2006-02-13  Dalibor Topic  <robilad at kaffe.org>

        * libraries/javalib/external/classpath/java/net/URI.java (quote):
        Pass Unicode characters outside the basic plane through.

Members: 
	ChangeLog:1.4650->1.4651 
	libraries/javalib/external/classpath/java/net/URI.java:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4650 kaffe/ChangeLog:1.4651
--- kaffe/ChangeLog:1.4650	Sun Feb 12 22:58:02 2006
+++ kaffe/ChangeLog	Tue Feb 14 00:21:52 2006
@@ -1,3 +1,8 @@
+2006-02-13  Dalibor Topic  <robilad at kaffe.org>
+
+	* libraries/javalib/external/classpath/java/net/URI.java (quote):
+	Pass Unicode characters outside the basic plane through.
+
 2006-02-12  Riccardo Mottola <riccardo at kaffe.org>
 	* libraries/javalib/awt-implementations/kaffe/java/awt/Window.java:
 	implemented a stub with a Classpath merge
Index: kaffe/libraries/javalib/external/classpath/java/net/URI.java
diff -u kaffe/libraries/javalib/external/classpath/java/net/URI.java:1.2 kaffe/libraries/javalib/external/classpath/java/net/URI.java:1.3
--- kaffe/libraries/javalib/external/classpath/java/net/URI.java:1.2	Sun Feb  5 10:45:35 2006
+++ kaffe/libraries/javalib/external/classpath/java/net/URI.java	Tue Feb 14 00:21:54 2006
@@ -487,14 +487,12 @@
     for (int i = 0; i < str.length(); i++)
       {
 	char c = str.charAt(i);
-	if (legalCharacters.indexOf(c) == -1)
+	if ((legalCharacters.indexOf(c) == -1)
+	    && (c <= 127))
 	  {
-	    if (c <= 127)
-	      {
-		sb.append('%');
-		sb.append(HEX.charAt(c / 16));
-		sb.append(HEX.charAt(c % 16));
-	      }
+	    sb.append('%');
+	    sb.append(HEX.charAt(c / 16));
+	    sb.append(HEX.charAt(c % 16));
 	  }
 	else
 	  sb.append(c);




More information about the kaffe mailing list