changeset 6509:89a0551b98d8

6631398: FilePermission improved path checking Reviewed-by: mullan, skoivu, jdn
author weijun
date Fri, 15 Jun 2012 09:51:09 +0800
parents b4f35876d9b5
children 7439e8007e09
files src/share/classes/java/io/FilePermission.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/io/FilePermission.java	Fri Jun 08 11:02:47 2012 -0400
+++ b/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;
     }
 
     /**