From f93afbf5b79057784761e37f5abefa61c9156383 Mon Sep 17 00:00:00 2001 From: weijun Date: Fri, 15 Jun 2012 09:51:09 +0800 Subject: [PATCH] 6631398: FilePermission improved path checking Reviewed-by: mullan, skoivu, jdn --- src/share/classes/java/io/FilePermission.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/classes/java/io/FilePermission.java b/src/share/classes/java/io/FilePermission.java index a5781f3fb..2555a7764 100644 --- a/src/share/classes/java/io/FilePermission.java +++ b/src/share/classes/java/io/FilePermission.java @@ -418,7 +418,7 @@ public final class FilePermission extends Permission implements Serializable { */ public int hashCode() { - return this.cpath.hashCode(); + return 0; } /** -- GitLab