--- old/src/java.base/share/classes/java/nio/file/attribute/AclEntry.java 2015-04-22 17:44:00.019422944 -0700 +++ new/src/java.base/share/classes/java/nio/file/attribute/AclEntry.java 2015-04-22 17:43:59.839422940 -0700 @@ -306,7 +306,7 @@ * @return the permissions component */ public Set permissions() { - return new HashSet(perms); + return new HashSet<>(perms); } /** @@ -317,7 +317,7 @@ * @return the flags component */ public Set flags() { - return new HashSet(flags); + return new HashSet<>(flags); } /**