--- a/jdk/src/solaris/classes/sun/nio/fs/UnixFileAttributes.java Thu Jan 13 22:21:58 2011 -0800
+++ b/jdk/src/solaris/classes/sun/nio/fs/UnixFileAttributes.java Fri Jan 28 09:28:43 2011 +0000
@@ -124,7 +124,7 @@
@Override
public FileTime creationTime() {
- return null;
+ return lastModifiedTime();
}
@Override
@@ -194,7 +194,7 @@
@Override
public Set<PosixFilePermission> permissions() {
int bits = (st_mode & UnixConstants.S_IAMB);
- HashSet<PosixFilePermission> perms = new HashSet<PosixFilePermission>();
+ HashSet<PosixFilePermission> perms = new HashSet<>();
if ((bits & UnixConstants.S_IRUSR) > 0)
perms.add(PosixFilePermission.OWNER_READ);