6923794: About 40 JCK test case fail with AssertionError if -esa option is specified
authorsherman
Tue, 10 Aug 2010 13:15:40 -0700
changeset 6300 700ec2a5d680
parent 6299 a44d48dbcd50
child 6301 c90a67d75c9f
child 6302 ec168532bf3f
6923794: About 40 JCK test case fail with AssertionError if -esa option is specified Summary: removed the assert Reviewed-by: alanb
jdk/src/solaris/classes/java/io/UnixFileSystem.java
jdk/src/windows/classes/java/io/Win32FileSystem.java
--- a/jdk/src/solaris/classes/java/io/UnixFileSystem.java	Tue Aug 10 17:30:43 2010 +0100
+++ b/jdk/src/solaris/classes/java/io/UnixFileSystem.java	Tue Aug 10 13:15:40 2010 -0700
@@ -187,7 +187,6 @@
                     }
                 }
             }
-            assert canonicalize0(path).equals(res) || path.startsWith(javaHome);
             return res;
         }
     }
--- a/jdk/src/windows/classes/java/io/Win32FileSystem.java	Tue Aug 10 17:30:43 2010 +0100
+++ b/jdk/src/windows/classes/java/io/Win32FileSystem.java	Tue Aug 10 13:15:40 2010 -0700
@@ -424,7 +424,6 @@
                     }
                 }
             }
-            assert canonicalize0(path).equalsIgnoreCase(res);
             return res;
         }
     }