--- old/src/java.base/aix/classes/sun/nio/fs/AixFileSystem.java 2014-12-01 15:47:14.095992782 +0800 +++ new/src/java.base/aix/classes/sun/nio/fs/AixFileSystem.java 2014-12-01 15:47:13.915992777 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved. * Copyright 2013 SAP AG. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -24,12 +24,17 @@ * questions. */ +/* + * Portions Copyright (c) 2014 IBM Corporation + */ + package sun.nio.fs; import java.nio.file.*; import java.nio.file.attribute.*; import java.io.IOException; import java.util.*; + import static sun.nio.fs.AixNativeDispatcher.*; /** @@ -56,6 +61,9 @@ private static Set supportedFileAttributeViews() { Set result = new HashSet(); result.addAll(UnixFileSystem.standardFileAttributeViews()); + // additional Linux-specific views + result.add("dos"); + result.add("user"); return Collections.unmodifiableSet(result); } } @@ -67,7 +75,7 @@ @Override void copyNonPosixAttributes(int ofd, int nfd) { - // TODO: Implement if needed. + AixUserDefinedFileAttributeView.copyExtendedAttributes(ofd, nfd); } /**