harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r524099 - /harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/Tools.java
Date Fri, 30 Mar 2007 14:17:16 GMT
Author: ayza
Date: Fri Mar 30 07:17:15 2007
New Revision: 524099

URL: http://svn.apache.org/viewvc?view=rev&rev=524099
Log:
Path should be separated by '/'. This fix should enable some AWT tests on Windows that become
broken after my commit at r524038. Related to HARMONY-1813.

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/Tools.java

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/Tools.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/Tools.java?view=diff&rev=524099&r1=524098&r2=524099
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/Tools.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/Tools.java
Fri Mar 30 07:17:15 2007
@@ -56,7 +56,8 @@
     public static String getClasstPath(Class clazz) {
         String name = clazz.getName();
         name = name.substring(0, name.lastIndexOf('.'));
-        return name.replace('.', java.io.File.separator.charAt(0)) + java.io.File.separator;
+
+        return name.replace('.', '/') + '/';
     }
 
     public static class Shape {



Mime
View raw message