6631398: FilePermission improved path checking
authorweijun
Fri, 15 Jun 2012 09:51:09 +0800
changeset 14207 7d6689d7e260
parent 14206 4333b87ed32f
child 14208 fd8e875982e9
6631398: FilePermission improved path checking Reviewed-by: mullan, skoivu, jdn
jdk/src/share/classes/java/io/FilePermission.java
--- a/jdk/src/share/classes/java/io/FilePermission.java	Fri Jun 08 11:02:47 2012 -0400
+++ b/jdk/src/share/classes/java/io/FilePermission.java	Fri Jun 15 09:51:09 2012 +0800
@@ -418,7 +418,7 @@
      */
 
     public int hashCode() {
-        return this.cpath.hashCode();
+        return 0;
     }
 
     /**