changeset 5417:0a0b2527e9ff

6631398: FilePermission improved path checking Reviewed-by: mullan, skoivu, jdn
author weijun
date Fri, 15 Jun 2012 09:40:30 +0800
parents 0a9903596aae
children 127f985ed2e1
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	Wed Jun 13 17:04:15 2012 +0100
+++ b/src/share/classes/java/io/FilePermission.java	Fri Jun 15 09:40:30 2012 +0800
@@ -418,7 +418,7 @@
      */
 
     public int hashCode() {
-        return this.cpath.hashCode();
+        return 0;
     }
 
     /**